Upgrade dependencies to allow Moped 2.0, upgraded gems, fixed tests.