Made 2nd param of toHaveAttr/toHaveProp optional

Made the second parameter of toHaveAttr() / toHaveProp() optional.
Added verification that optional parameters work

Added verification that optional parameters work for toHaveAttr() and toHaveProp().
Merge pull request #1777 from JohnKurlak/master

jasmine-jquery: Make second parameter of toHaveAttr() and toHaveProp() optional