0.0.1 Better error handling

Instead of throwing errors, which causes node to crash, render a 500
message with the error message in a json object.