fixes #2 (support for underscore.js)

Fixes support for `underscore.js` instead of `lodash.js` by mimicking the missing `isPlainObject` method.