Fire errors on the module
Move catch
save memory
don't check undefined
Fix tests
Add testing of errors
Don't throw in a timer since that gets reported normally
Merge pull request #16 from ftlabs/fire-errors

Fire errors to module so they can be logged.