refactor to make memtablesPendingFlush a member variable instead of a static, and Memtable to have a reference to CFS instead of table/cfname pair. patch by jbellis; reviewed by Stu Hood for CASSANDRA-799