Sort files before comparing as Dir.glob doesn't guarantee order
Added sorting to crop_images method
Some changes to prepare for unit testing

* Moved wraith to snappy to follow rails conventions

* Moved code out of rakefile to libs to make it easier to test
Add most tests for snappy_manager
Merge pull request #21 from doryphores/sort_files_before_compare

Sort files before comparing as Dir.glob doesn't guarantee order
Change references from snappy to wraith
snappy to wraith
Bring in sort changes
Remove comment
Merge remote-tracking branch 'upstream/master' into phantomjs_options
Merge pull request #24 from hoguej/feature/unit_tests

Feature/unit tests
Refactor to tidy up code
Updates LICENSE
Update README.md
Merge branch 'code_tidy' of https://github.com/reggieb/wraith
Merge pull request #27 from reggieb/code_tidy

Refactor to tidy up code
Merge branch 'master' of https://github.com/BBC-News/wraith
updated changelog
Merge branch 'master' into phantomjs_options

Conflicts:
	lib/wraith.rb