Update moped dependency
Flag upserts as persisted.

[ fix #3159 ]
Replace deprecated stub with double
Remove uses of deprecated raise_error with class
Bump to rspec 2.14