Fix some JSON dodginess, which for some strange reason also fails on JDK8
Merge branch 'master' of github.com:mikesname/ehri-rest
Add a convenience method to check if an item has restricted access
Set cache control headers on item responses based on whether there's an access restriction
Set a location header and cache control on more methods
Cleanup, more consistent use of location header in WS responses, addition of cache control to permission URLs
Make page constructor public
Re-tooling watch/follow/block API to be more amenable to caching
Remove pointless get() method on Query
Ongoing major re-work of pagination/listing. The only return type
is now a list, with pagination/total data in the response headers.
Pagination is enabled by default, but the X-Stream header can be
used to indicate a fully-streamed response, ignoring the list total.

Lots of additional cleanup/tests required.
Clean up of ranging/paging
Misc cleanups
Remove a ton of boilerplate by moving list query building into base class
Remove unneeded methods and merge mess
Move event filtering stuff into it's own view class. Additional
cleanups elsewhere.
Fix weird limit range edge cases
Rename (back) count/limit param for compatibility
Work on using providers to make the resources more natural-looking
Use a Jersey provider to deserialize incoming Bundle objects. For some
reason serializing permission objects is not working yet.

Conflicts:
	ehri-extension/src/main/java/eu/ehri/extension/CvocConceptResource.java
	ehri-extension/src/main/java/eu/ehri/extension/GroupResource.java
	ehri-extension/src/main/java/eu/ehri/extension/PermissionsResource.java
	ehri-extension/src/main/java/eu/ehri/extension/UserProfileResource.java
	ehri-extension/src/main/java/eu/ehri/extension/VirtualUnitResource.java
	ehri-extension/src/main/java/eu/ehri/extension/VocabularyResource.java
More clean-up of resource class methods