Improvements to StateTypeList.

 - Moved to bind.
 - Documented undocumented Types() parameter in POD.
 - Added tests.
Moved CategoryDuplicateCheck() to use Bind variables.
HTML improvements.