Implementation of the queries with PropertyHistoryManager, little update of the specs (now returning a JSONObject not a JSONArray, state key is replaced with value key to be consistent with apam property), Tests are ignored (can be enabled but check that you have a running mongo DB and if you are not using defalut setting of mongo, change the hardcoded values in the test file)
Merge branch 'master' of https://github.com/cegerard/appsGate-server