Update toHave.js: better error message for 'toHaveProperties' when Objec...

...t is undefined.