Add byTag template function.

Adds a `byTag` template function that accepts a `[]*Service` and returns a `map[string][]*Service` where the map key is the service tag.

An implementation of my suggestion to an alternative solution to #33.