We previously weren't checking all the bits in locality to ensure we had a complete match - instead, we would report "local" to the specified level if only one bit matched. Ensure that a est for locality tests local to the specified level by checking that *all* bits match.

cmr=v1.7.4:reviewer=hjelmn:subject=Ensure locality is properly tested
Adds a check in the mindist mapper for whether or not the user asks for a specific device. This patch was submited by Elena Elkina and reviewed by Josh Ladd and should be added to    

cmr=v1.7.4:reviewer=jladd