Add route permissions guard

First commit to add permissions check on route, as discussed in #182

Discussin is open, tests to come
The null parameter is needed for using PHPUnit returnValeMap : http://stackoverflow.com/questions/12748607/phpunits-returnvaluemap-not-yielding-expected-results/15300642#15300642