added GET a specific ref

`db.get(collection, key, ref)` now returns the key-value for a specific ref.