Added options argument to .html() static method.
Be more strict with object check.
Made it less insane.
add class only if doesn't exist
added test
Merge pull request #503 from alexindigo/master

Added options argument to .html() static method.
Change state definition to more readable
Merge pull request #505 from 0xBADC0FFEE/toggle-class

toggleClass: add class only if doesn't exist
Respect options on the element level
Merge pull request #508 from alexindigo/master

Respect options on the element level

fixes #496, #460
accept buffer argument to cheerio.load
Merge pull request #511 from cheeriojs/load-buffer

accept buffer argument to cheerio.load