Fixes a bug when saving views.
Fixes a bug when rotating images.
Fixes a bug in which hashes are actually BSON::OrderedHash.
Adds Gemfile and .gitignore to the default folder.