adding function isEmptyObject to util.js

Check if an object passed is an empty object.

So far this feature was implemented in user land, for example by the npm module check-types. Although since  `isObject` and other type checking methods are now implemented in `master` I though to include `isEmptyObject` for completeness.

Test have been added as well.