Cleanup all memory leaks in service_instance_test
Merge pull request #7 from safchain/service_instance

Convert exit to _exit in ExecCmd
Cosmetic changes plus one double free
Resolve memory corruption issue via stale graph pointer to ifmap link table
Add DBState usage for NamespaceState

Also fix some ns command typo