Fixing before method

Hello!

I am using this repository and I found a problem so I fixed it. 

The problem is when you have another function that you want to execute in before method too. For example, if you want to add a session variable to the same route that you want validate, like this:


        loginRequired: 'login',
        before: [function () {
            Session.set('currenExampleId', this.params._id);
        }]

I replaced the assignation of the function to an array, and now we can can to assign more functions to before method

If you don't understand something of that I said let me know.