Feature/checkpointing

Enables checkpointing when OPS_CHECKPOINT flag is supplied (and ops_checkpointing_init is called after ops_partition).