Exception handling and response codes

Exceptions raised in validations should trigger HTTP errror response
codes.
version bump
drop 3.1.0 tests, fix shoulda version

Too many problems running test suit with 3.1.0, unnessary anyway.
Shoulda droped support for ruby 1.8.7, need to fix it to 3.4.x
Removed some unused stuff