Merge pull request #8 from hychen/master

fix http request hangs when the path is collections
add cmd.js as workaround to make npm install from git work
trycatch doesn't get rethrown errors, handle them explicitly
"as" for defining base table for views
fix default route
minimum tests for routes
* Route null into ..
* Carry fullpath logic to test too
simplify with-prefix
more flexible route helper
remove json_91 from travis
remove Error: prefix from pg
restore cors
smoke pg 9.0-9.2
Merge remote-tracking branch 'clkao/master'