New API for iterating through mesh tags.

This will eventually close #267. Should I write tests for all subclasses?