Minor JS clean-up

- Replace semi-colon on insertionMethod definition so other vars are defined
- Remove some white-space
Merge pull request #151 from ethier/master

Minor JS clean-up
Changing .bind to .on

As of jQuery 1.7, the .on() and .off() methods are preferred for attaching and removing event handlers.
Merge pull request #152 from anthonylebrun/patch-1

Changing .bind to .on
Cocoon complete scaffold generators.

Ingludes scaffold, model, controller, nestedh templates and bootstrap 3 css.
Clean-up and haml improvements to templates
allow helper functions for edit fields
Formatting fixes and add pagination.
Button size specifics
Optimization, normalization and minor bug repair
Take more ownership of controller generation
Generate serializers for active model serializer
What makes haml happy...
Init side bar functionality
Workaround needs fix, multiple source_roots required.

These files are not required but cannot be found anymore.
Ideally we should be able to add the path to source the templates
ActiveRecord instead.
Disable serializer resource generator.

This is now improved and done as part of module generation instead.
Already replaced by inject into class method.
Has_one ability enabled