reimplemented ttl_repl_secondary_disabled to avoid godinsert #654

fixes #654
Merge branch 'bugfixes/tokumx-1.3' into releases/tokumx-1.3