Fix misindented block
Submit "Add Repository" page on ENTER
Drop unused imports in addrepository.py
Don't crash on duplicate short name in /newrepository
Use new syntax for exceptions in addrepository.py
Set focus on "Short name:" textbox when /newrepository first loads