Implement prune_zero and prune_empty_list options for prune(...) - Resolves mewwts#17

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