Bump to 0.12 and bring in libhtp 0.5.2.

Added a couple of callbacks and chased down changes in libhtp.

Things seem OK so I'll probably tag this after some testing.