migration to AMD with require.js, various UI improvements, and bug fixes

* Refactored the javascript files to support AMD so they can be leveraged more easily in other apps.
* Improved visual cues for users
    * Only supported content is highlighted when copying items
    * After an item is copied, the original moves back to the starting location. The old behavior implied that it was moving between accounts, not copying. This also makes it easier/possible to copy one item several times in the same session.
* Made use of [jquery defererred](http://api.jquery.com/category/deferred-object/) instead of manual callbacks
* fixed false positives with updating webmap services
* fixed #53