add bson_ext to Gemfile.
update backbone.js prototype.
update backend app.