Add -a/--active-only parameters to head and tail commands

Fixes #36