Remove Gemfile.lock; add to .gitignore

Add development dependency for `jasmine-core` gem and `rspec` to limit
them to 1.3.x and 2.14.x respectively. The `jasmine` wrapper gem allows
for any version of `jasmine-core` >= 1.3.0 and `rspec` >= 2.5.0, causing
versions 2.x and 3.1 to be installed and the tests to fail.
Merge pull request #26 from ecbypi/ignore-gemfile-lock

Remove Gemfile.lock; add to .gitignore
Whitespace, indentation and syntax cleanup

* Add missing semi-colons
* Consistent 2-space indentation
* Remove trailing whitespace
Set parent before rendering child view

Allows the child view to have access to the parent when rendering so the
child can more easily bind to events on the parent. Alternatives include
manually passing in the parent view when initializing the view (which is
redundant) or having the parent setup the child view's listeners.