OGM-481

Element collections and associations of non-composite keys are now stored as simple arrays in MongoDB and CouchDB. This also unifies some aspects of association handling for Mongo and Couch.
Done.