HBASE-11652 Port HBASE-3270 and HBASE-11650 to 0.94 - create cluster id and version file in a tmp location and move it into place. (LarsH, original patches by Andrew Purtell)