Split out ifmap test library so that it works with both control-node and agent

Change-Id: Ieff83b8ead40dabe6983215bf7a151d01ffd89a9
AllocObject() is common to both control-node and agent IFMapTable implementations

Change-Id: I03d94694790aea82daf5d1734f7e1ddf14e15ce2
Add IFMap dependency management

Change-Id: I331a221e5f63dbb803d7ded24cc7fec2e6599d12