Fixed error handling

https://trello.com/c/hXskreUL/1743-api-blueprint-api-hangs-with-this-blueprint
This code is so anti-nodejs style. NodeJS uses error-first, not results.error.