fix for #17 - handle token error

also provide more details in http response
Merge pull request #18 from ischneider/cql-errors

fix for #17 - handle token error