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
Change references from snappy to wraith
snappy to wraith
Bring in sort changes
Remove comment
Merge pull request #24 from hoguej/feature/unit_tests

Feature/unit tests