only query once for local host id on join

patch by dbrosius reviewed by jbellis for cassandra-7257
Merge branch 'cassandra-1.2' into cassandra-2.0
Merge branch 'cassandra-2.0' into cassandra-2.1
Merge branch 'cassandra-2.1' into trunk