Fixed pseudotype conversion for R_JSON and enabled R_JSON
Fixed errors not being returned when a database connection failed.
Fixes #51
Changed base wercker box