Adding error reporting to snocketAssets

Snockets was throwing uncaught errors when coffeescript compilation failed. This patch allows you to catch those exceptions through the "error" event. This patch also includes a fix for the error event (the previous compiled js ended up checking if 'error' == 1 which was always false).