Merge tag 'v3.3.1'

3.3.1
Bump ncp dependency to 1.0.0

ncp@1.0.0 is the first release to include AvianFlu/ncp#58, which is
necessary for our 0.11.x-pre based CI.
Improve compatibility of end-to-end tests

Node throws a TypeError for trying to call a method that doesn't
exist, but the message in the exception is different.

node 0.10.x: "Cannot call method 'apply' on undefined"
node 0.11.x: "Cannot read property 'apply' on undefined"
Merge pull request #141 from strongloop/feature/fix-0.11.x-pre

Make tests compatible with Node 0.11.x on CI
Fix the types for scopes/indexes

See https://github.com/strongloop/loopback/issues/562
Merge pull request #142 from strongloop/feature/fix-lb-562

Fix the types for scopes/indexes
Bump version
Merge branch 'release/3.3.2' into production