move get_lun_map into cmode

Change-Id: I33d987aafc417a353b69e8d8fa433dd0769692c8
get_igroup_by_initiator

Change-Id: I12dbf3e97c1be2ab579b2d7ec07873058844a403
minor cleanup

Change-Id: Ibd22f058942913792eaed18bdedce3bc0448df35
Forgot to add seven mode tests

Change-Id: I7fb1371fb47340006a02ecd9afba0dfb31944f9f