Add a 'tags' command to select instances by tags

Rather than tying everything to Names, I've added support for arbitrary tags. The change is backwards compatible (provided the "instances" function was called using it's positional argument).