call hasOwnProperty() on nodes to ignore properties or functions defined on Object

call hasOwnProperty() on nodes to ignore properties or functions defined on Object
added task to Gruntfile.coffee to run the unit tests