Fixes Issues #132 'before' is deprecated warning

<deprecated> [RouteController] 'before' is deprecated. Please use 'onBeforeAction' instead.
Merge pull request #133 from AJ-Acevedo/master

Fixes Issues #132 'before' is deprecated warning