Initial work on grouping instances by tag

This will be used for the instance overview page; successive tags will
let you define an instance hierarchy (e.g. environment, then deployment,
etc).