Updated the Application model and views to comply with using OAuth as the offsite authenitcation method along with individual on site permission handled by a model based 'allowed_' method to check individual permissions of applications;