Added test to assert that DBRefs aren't being dirtied by previously reading off a sub property of a referenced document.
Fixed issue with dirty db refs being saved by checking for them in removeIgnoredProperties
Merge pull request #122 from coen-hyde/clean-refs

Clean refs