Set underscore as a dependency - not a devDependency
Clean-up main module and use strict mode [...]

This includes removing unused functions, using nodejs native util.inherits for
inheritance - rather than the deprecated `prototype.__proto__` method - and
removing an unnecessary and unidiomatic semicolon.
Replace underscore with a general 'isType' function, which seems sufficient