Added Tests for User Menu

Additionally, scripts used by nearly every page on the site have been moved to application-main.js.
Merge pull request #148 from edx/main-dropdown-test

Added Tests for User Menu