Fixed hashchange support detection in browser

By rewriting the Backbone.History, a bug has been introduced.
The operator "in" in Coffeescript is not the same that the one used in Javascript.
This pull-request replace the "in" operator by "of", to have a proper detection of the "hashchange" support.