Add feature dependaclies
Fixed a misprint
Fixed test
Add configs to features
Merge pull request #5 from goxmpp/features

Add feature dependaclies