feat(extend): optionally deep-extend when last parameter is `true`

Same as #10507 but with my review comments addressed and jscs fixed.

Someone quickly review this so we can land it :<
should this comment be:

```js
// Secret code to use deep extend without adding hash keys to source object properties!
```