Add having () method

Pretty much just copied and tweaked the `where()` method and then added a section to `sql()`.  Seems to work, albeit in somewhat limited testing.