Changes needed to split troopjs-composer out. Based on feature/selector

See troopjs/troopjs-core#71
See troopjs/troopjs-browser#45