What is the view of islam about transgender/Bigender people?

Are they considered as muslims?

> anyone who pronounces the shahada a muslim

means, my questions are 

- Some rules in islam(like wearing gold,hijab) are different between male and female, What should those people do?

- What does Islam tell about their marriage?