Fixed a bug where hg command processing was crashing on Windows servers

This was due to using os.linesep, however the resulting message we get is actually from a linux machine and therefore on Windows using \r\n would result in none of them being found.
Added ability to select buildslave on force build

Moved the force build form into a new forms.py file to redduce the load that is uses on the server
Fixed a bug in select slave where builds would wait forever

- Tidied up the way we are detecting if a build should be the "same" when selected slaves are involved
Cleared up a bit of code after a review from maria
Fixed minor bug in the queue where it shows more compatible slaves than there are when running on a specified agent
Merge branch 'staging' into specifySlave

Conflicts:
	master/buildbot/status/web/files/prod/script/project/popup.js
Fixed import for FormsKatanaResource
Fix imports
Fixed a bug where if there were multiple queued items only the first build would be checked and would cause an unecessary backlog
Simplifying the code
_chooseBuild was broken when using nextBuild configuration / fix unit test to correspond changes
Combobox enhancement
Fixed a bug where the run default button build would not work, also when running a build on builders it now correctly returns to the builders page
Merge branch 'katana' into specifySlave
Merge branch 'katana' into specifySlave

Conflicts:
	master/buildbot/status/web/files/prod/script/project/popup.js
Merge branch 'katana' into specifySlave
Fix restarting of the agents hangs the slave when running hg command
Fixed a bug where the run shortcut would throw you back from a branch into trunk/default
Merge branch 'katana' into specifySlave
Fixed the visual aspect of branches in the force build popup when the URL has encoded values in it