reintegrating translation branch

Merge branch 'translation_to_pt-br'
Implemented application menus for repository url panel
Do not include clientapps.json in distribution files
Fix NPEs when initializing on a servlet container which returns a null contextFolder
Improve WAR resource extraction by using ServletContext.getResourcePaths
Support user override of client application definitions
Clean while compiling to resolve weird type erasure corner-cases
Use SparkleShare icon instead of star icon for app menu
Update urls on empty repository page
Added Tower icon
Css tweaks to app menus and top nav bar
Updated syntevo SmartGit/Hg icon
Updated Tower icon per fournova's request
Improve page title

- When viewing a repository, users want to know what repo they're
  on. Currently, it's usually pushed out of view
- Use siteName for the title instead of the server name
Close file descriptor leak (issue-199)
Allow client apps to specify a minimum required access permission
Added missing repo size values
Include username in push log, along with display name and email address
Merged pull request #88 - improve page title
Fix message escaping when combined with regex substitutions (issue 242)