jsgui: Clear datatable so no duplicates when clicking between policies
Moves configuration of Backbone.View.prototype from router to view.js
jsgui: Adds generic modal and config key input views
jsgui: Attach new policies to entities

Basic implementation. Need to know the type of the policy.
Rework policy config editing

* Uses generic modal view rather than managing a modal itself
* Improved error display
* Shows default values in policy config table
* Adds Brooklyn.view.showModalWith(View) shortcut
fix semantics for masking error; it was the wrong way round!
tidy osgi logging following code review comments in #109
add builder for LocalManagementContextForTests and use in more places to speed things up, also adding conveniences for the BrooklynProperties.Factory.Builder
fix ha split brain test problem, and better logging for ha
restore visibility of static methods used in downstream projects
fix backslash in yaml blueprint
prefer 64-bit images (it makes sense, and without this it can sometimes pick a 32-bit os w a 64-bit hw, e.g. minRam 4096 in AWS VA, gives ami c68150ae on m3.large);
also include the new ubuntu lts (14.04) as a slightly preferred;
and a bit more jclouds template logging (previously we did not log the templateBuilder)
code review comments on #113
This closes #113
jsgui: New policies are displayed immediately
This closes #126
Fix typo in GitHub example url for NodeJsTodoApplication