Wrap compile function in try/catch

Otherwise any errors in brunch's config.coffee will be silently
dropped out.