Parse permissions from data object from routes
Retrieve permissions from data object instead of toState object
Parse permissions from data.permissions and add deprecation warning
Actually make changes to src files
Merge pull request #2 from Narzerus/development

Parse permissions from `data` key on states config to allow inheritance