Make Controller#beforeAction function. (╯°□°）╯︵ ┻━┻)

Closes gh-517.
Add events catalog (just names, no descriptions yet).
Dispose controller after async before actions.
Merge pull request #524 from chaplinjs/topics/function-before-actions

Make Controller#beforeAction function. (╯°□°）╯︵ ┻━┻)