Implement subset --regain-gids option with CFF1/2

along with api tests & expected results
9 files changed