[MONDRIAN-1471]  merge of 6730939, 638a86e, dedd074

Eliminates unnecessary use of Stack, switched to double-check locking of .getMemberReader(), and made QueryTiming threadsafe.