include devDependencies in outdated and update

@domenic asked me in #3262 if I could take care of that.

Added tests and did the changes @isaacs mentioned - at least I am hoping I got that right.

Closes #3262