Improve SHtml scaladocs and consolidate APIs.

This across handler and ajaxHandler functions.