More web enhancements

More web work, including:
* Updates main libraries to current stable versions
* Turned `FormatJSON` into a module
* Cleaned up the build output. The jsgui project should build with no stacktraces. (They were caused by certain modules trying to load things like sensor values from URLs that don't exist in tests.)
* Added brooklyn.js to hold config and made updates toggleable, currently only via the console. Run `require(["brooklyn"], function(b) { b.toggleRefresh(); })`.
* Renamed the overloaded method get in LocationResource to getLocatedLocations to fix a minor Swagger UI issue.