Convert PolicyRegistrationTest from groovy to java
Adds policy added/removed sensors
return json primitives not strings, for sensor values:
for doubles when displaying, round to thousands place
use JSON array for datatables in sensor, activity, and config,
so we have more control about when/how they update,
esp for adding tasks dynamically (fnAddRow with DOM is incompatible with filtering);
table prettification, and additional (and a bit more standardised) toolbar for the table
fix code review comments, including mysql and rounding; and jasmine tests (they needed config.txt update);
policy config now shows the new style (though it still doesn't yet use json arrays);
also fix policy tab so it shows immediately,
and fix tab-switch error when we've reloaded a page
Merge pull request #548 from aledsage/feature/track-policies

Feature: track policies
Merge pull request #572 from ahgittin/misc

datatables using js arrays instead of dom, standardising and improving datatables loog and feel
Added css class div.warning, used for the known issue docs quickfix on M1.
Added release-notes directory and notes for 0.5.0-M2.
Fix docs build: re-add eclipse.include.md

- docs/use/guide/quicksart/eclipse.include.md had been accidentally
  deleted, which caused the jekyll build to fail. This commit
  reinstates that file.
Adds link to release-notes (in download.html)
Release notes list formatting fix.
Easier getting started path on download page.
Also one small optimization for release notes download location on snapshot vs milestone docs build.
Moved eclipse.include.md closer to usage (ide.md) in file hierarchy, to prevent future accidental deletion and repeat of docs build failure.
Fix PolicyRegistrationTest.testRemoveAllPolicies
Merge pull request #583 from aledsage/fix/PolicyRegistrationTest

Fix PolicyRegistrationTest.testRemoveAllPolicies
Add Cassandra Catalog annotation
Remove deprecated code

- Remove some deprecated code marked as "will be deleted in 0.5"
- Change some others to "deprecated since 0.4", so we'll delete it in 0.6
Removing deprecated code: incorporate comments