Updated to 1.4 API
merged master
dbSetup error handling and before_request connection error handling