maintenance

this patch removes the old `apply_tuple` function family
(replaced by `apply_args`), removes `partially_apply_args`
(use `int_list` for indices instead), and cleans up unit test macros