Fix minor autoWiring bugs
Merge branch 'master' of https://github.com/strongloop/loopback