Check object status before attempting commit.

Do not attempt if not new or modified.

Fixes #3
Merge pull request #4 from ibnfirnas/handle-committing-unchanged-object

Check object status before attempting commit.