Add scope definitions to the model class

See https://github.com/strongloop/loopback/issues/454