Make sure own properties are copied by toObject for non-strict mode

/to @ritch 
/to @bajtos 

See https://github.com/strongloop/loopback/issues/162