Added support for error message parsing from 422 responses in more recent versions of Rails while maintaining backwards compatibility with older versions of Rails.

JSON responses from 422 errors in earlier versions of Rails:

{"name":["can't be test","must be valid"]}

JSON responses from 422 errors in recent versions of Rails:

{"errors":{"name":["can't be test","must be valid"]}}

This fixes issue #567.
Merge branch 'master' of git://github.com/Shopify/batman
Fixed an issue where context bindings weren't being assigned to a node, meaning they wouldn't die properly. Closes #618
Make sure view properties and observers are cleaned up when a view is removed
Make sure view properties and observers are cleaned up when a view is removed
Merge pull request #619 from Shopify/cleanup-view-properties

Cleanup view properties - stabilize view memory usage
Added helper, test and catch to bypass middle-click events.
Prevent race condition from orphaning node bindings on successive renderings
Remove rendered handler once fired
Ensure items that have not yet been rendered that also weren't previously in the set are cleaned up
Iterator test for ensuring bindings are destroyed
Merge pull request #624 from Shopify/fix-iterator-binding

Fix iterator binding detached DOM issues
Fix up model memory usage profile test
Add a performance test for accessors with varying amounts of sources
Change the source tracker pushing and popping to only instantiate source arrays when needed instead of preemptively.

 - Batman.Property source tracking is built upon a source tracker stack that gets pushed to and popped off of as properties are recalculated. This uses a little boolean to make thing a bit faster by delaying the push of a new source array to the stack until the first item goes to be added to the stack, and otherwise if no items are added no arrays are created and the boolean is just flipped back.
Merge pull request #622 from adamyanalunas/middle_click_rotue

Added helper, test and catch to bypass middle-click events.
Build dist
Defer function binding until bind
In IE7, it is not possible to get a character from a string using the box [] notation.
This caused IE8 to go return defined, enter a continious loop and then cause a stack overflow error.

Amended the offending lines to use charAt instead.
dist