Clean up indentation
Clean up layouts, layouts add a reference to themselves to @parent.layouts[]
Add return statements
Separate style events from jquery from internal setAttribute calls
Add coffescript support for methods and handlers with type attribute

Also, centralize function compilation, add try/catch for compilation
errors
Factor out method creation/overriding