Don't make embeds_one and empty array in the full_attributes when blank.
Add tests for embeds_one functionality.
Fix save(validate: false) not properly skipping validations.

This wasn't working since save! was being called in the before_save
callback, which was forcing validations on each save, regardless of the
options actually passed into save.
Remove Gemfile.lock and move development dependencies to the gemspec.
Setup continuous integration for tests on Travis CI.
Fix for failing tests returning a successful response code.

When the rspec tests failed, the system call was still returning a
successful exit code of 0, so Travis CI still thought things were
passing, even when they weren't.
Add mongodb setup for Travis.
Merge branch 'gem' into travisci
Fix embeds with cascade_callbacks: true.

With the previous save(validate: false) fix, this was leading to stack
level too deep errors when cascade_callbacks was enabled.
Fix handling of deeply nested documents.
Fix saving versions when safe mode is enabled for Monogo.

The save being triggered in the before_save callback was leading 2 save
attempts for each record - once during the before_save and then once
again during the normal save process. This second, normal save was then
failing because a record already existed in Mongo. When safe mode is not
enabled, Mongo's second save was silently failing, but with safe mode
turned on, this error means each save action will result in a failure.
Merge branch 'safe_mode' into save_options

Conflicts:
	lib/mongoid/delorean/trackable.rb
Merge pull request #1 from GUI/gem

Gemfile/gemspec cleanup
Merge pull request #2 from GUI/embeds_one

Fix embeds_one functionality
Merge pull request #4 from GUI/travisci

Setup Travis CI for continuous integration testing
version bump
Merge branch 'save_options' of git://github.com/GUI/mongoid_delorean into GUI-save_options

Conflicts:
	spec/support/models.rb
version bump
Updated README to use code highlighting
migrating to be compatible with mongoid 4