Added bender.error function logging error's stack in the console. Fixes #23.