Rest UI client

     * implemented Javascript UI client using Backbone.js, underscore.js, jQuery, Twitter Bootstrap and Require.js
     * uses Jasmine.js (jasmine-maven-plugin) for testing: $mvn process-resources jasmine:test
     * added jersey-multipart to parse browser file uploads - required to create Catalog entities from files
     * removed some no longer needed swagger-ui resources
     * modular Javascript code
     * templates are stored in individual files and loaded via Require.js text plugin
     * using json fixtures to test Javscript Models
     * views for catalog, application exploration
     * lazy loading of entity data for exploration
     * self updating sensors information
     * ability to create applications and trigger effectors
Merge branch 'master' into review/rest-ui

Conflicts:
	sandbox/rest/pom.xml -- brooklyn version
use static type to look up config keys on entity
allow ManagementContext class to be injected, and use it to start apps
change so catalog operations only perform scan when needed
(allows unit tests to run faster as many don't need a full scan)
add more unit tests using simple (in-memory) entity, moving redis-tests to integration; and effector invocation now synchronous by default with option for timeout/bg
exact copy of DropWizard 0.4.4 AsyncAppender, to apply a fix to
fix for DropWizard stop blocking forever
Merge branch 'master' into review/rest-ui
fix swagger, and make it look a bit nicer, better descriptions
clean-up for aled's code review
Fixes UrlMapping for member-removed and rebind

- Converts UrlMapping from groovy to java
- Adds subscription to cluster.MEMBER_REMOVED
- Fixes onManagementMastering to correct onManagementStarting
- Group.addMember returns boolean, rather than void
SoftwareProcessEntity does not set serviceUp in constructor

(For rebindng)
Adds NginxController.HTTP_POLL_PERIOD config
AbstractEntity.getManagementSupport not final

(so can be mocked)
Merge pull request #371 from ahgittin/review/rest-ui

rest ui
changed look up order for package manager
Merge pull request #375 from andreaturli/master

Changed look up order for the package manager
Jmx: adds min time between reconnect attempts
Ssh retry: support for configuring timeout

Don't just support a fixed number of retries, because sometimes
it takes many seconds to get an exception. Also support a timeout.