fix return rid after postDocument
Fix response RID with postDocument and putDocument and empty with deleteDocument
Major performance improvements into the Mapper:
* introduced doctrine cache for retrieving annotations
* introduced a simpler cache for casting
* introduced a simpler cache for class mapping
* inflection is cached with a simple cache
Merge pull request #154 from tomcyr/master

Fix response RID with postDocument method