A man has appeared at Derry Magistrate's Court charged with breaching his bail and possession of a class B drug.