Updated api - fixed some bugs.

Added edge model for creating edges:

doc = collection.save({})
doc2 = collection.save({})

doc.createEdge("edgecollectionname").to(doc2).save();