Remove sun.misc.Sort dependency (as it is not recommed http://www.infoq.com/news/2013/09/remove-sun.misc.sort-java-8 ) and fix some tests
Used JSONAssert (suggestion from Burak) to solve the problem that different JVM were changing the JSON fields order (resulting to some tests fail)
Fix #8: exclusion of a field should not exclude its parent
Fix #7: Now translates elemMatch correctly
Fix #6: Treat array indexes correctly for JS
Fix #3: Use all matching  values instead of a single value while evaluating queries
Remove array matching elements projection
Review and optimize roles in operation context
Add logging to operation context
Added config for basic auth in demo
Added missing HTTP methods to config
Fixed rest/metadata config dependency and impacted unit test
Merge remote-tracking branch 'origin/master' into dev-nmalik
Tie HttpServletRequest.isUserInRole to ClientIdentification, and deal with weird RestEasy bug that injects a proxy HttpServletRequest with @Context that loses the context once it is called from within another class other than the resource
Merge remote branch 'origin/demo-authn-authz' into demo-authn-authz

Conflicts:
	crud/src/test/java/com/redhat/lightblue/eval/ProjectorTest.java
	rest/crud/src/main/webapp/WEB-INF/web.xml
Merge remote branch 'origin/master' into demo-authn-authz