Add support for specifying chain ids in chains to remove [ready to merge]

This PR adds the ability specify either (or both) chain indices and chain ids for `removechains()`.

I've also added doctests illustrating this usage and nose tests making sure it works.