Bug5741: Local PM Query Interface Part 3: Add MySQL variable to only select local data

Changed infinidb_local_query to a tri-state switch. 0=normal, 1=local UM and PM, 2=local UM, but global PM.