Fix coding standard for ApplicationController
Fix getting branch name (wasn't language independent)