Clean up htmlfilter lib, reformat to PSR-2
Clean up docs