Expand rid

- New method to process OrientDB's fetch plan results set and expand references into objects (it clones existing objects to avoid circular references, as these break conversion to JSON)
- Several improvements to Associations in general, highlights:
  * Recursive rewriteIds method which converts nested RIDs to id
  * Added tests