Fixed a bug with hgpoller on windows
Changed the common branches dropdown to be a branch dropdown

- All branches are now visible in the select a branch dropdown
- Remembers the default value for every codebase in order to set it to the default when a common branch is not found
Tidied up whitespaces in selectors.js