update to rails 4.1
remove Digest deprecation warning
switch to minitest from test/unit

not sure if this is the right change, but tests seem to run
fix failing tests

not sure if the to_a fixes to get collections from activerecord is the right way