change inode map to struct from bool

Docker-DCO-1.1-Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com> (github: unclejack)
convert so rm tests to integration-cli

Docker-DCO-1.1-Signed-off-by: Victor Vieux <victor.vieux@docker.com> (github: vieux)
Merge pull request #5304 from vieux/convert_rm_tests

convert so rm tests to integration-cli
Merge pull request #5264 from unclejack/change_inode_map

change inode map to struct from bool