Free name entries.
Add entry expansion function.

Conflicts:
	pkg/audit.c
Do not free items in reference entries.
Update parser code for multiple names support.
Fix compile warning.