Fix hasModel() cid lookup for Backbone > 0.9.9

The `_byCid` object and `getByCid()` have been removed. `get()` now supports lookup by both id and cid. Keep `_byCid` implementation for backwards compatibility.