Centralise error handling a bit
Slightly prettier output on errors
Merge branch 'master' of https://github.com/scraperwiki/datatables-view-tool