Feature/permissions

again this just seems to check that the application exists, we also need to check that the application.gitRepo is the same name as the one being pushed to (plus '.git')