issue #1014: WITHIN function returns wrong distance

added attribute setters for ShapedJson so document attributes can be updated
Merge branch '2.2' of https://github.com/triAGENS/ArangoDB into 2.2