Only use overwrite option when available

The overwrite option was only introduced in Mongoid 4.
This change keeps it compatible with Mongoid 3.
Merge pull request #27 from 5apps/check_for_overwrite_option

Only use overwrite option when available