Resolves mewwts#17

Implement prune_zero and prune_empty_list options for prune(...)