Free lookup tree when switching from IXFR to AXFR.

Added hattrie_clear() implementation.

Change-Id: Iaf6bd7c33417f62afc76d8368c49aced93731409