Save compaction history to system keyspace

patch by lantao yan; reviewed by yukim for CASSANDRA-5078