Added setDirty method
Added tests for setDirty.  Changed mongo extension requirements in
composer.json.
Deleted composer.lock and added to gitignore.
Merge pull request #4 from shuchow/AddsetDirty

Added setDirty method