More improvements on the features

- migrate auth to feature state
- formalize some rules
Merge pull request #2 from dotdoom/master-features

More improvements on the features