CoffeeScript code reduction
Added signature check to differentiate between versions of Backbone.Relational. Bug fix in legacy test.