Added method on ApplicationController called can? that can be used to validate the current_user has a given permission
Added method_missing to ApplicationController so extending controllers can define before_filters in the format of 'authorize_somepermissioncode' to authenticate controller methods against permissions the current_user should have at the time