improve the way we add Instance nodes to suite xml

- pull out Instance objects as constants
- make adding <instance>s more declarative
- and guard against adding the same instance twice
rename needs_instance to require_instance

to make it not sound like it returns a boolean
Merge pull request #3640 from dimagi/inlcude-group-instance

improve the way we add Instance nodes to suite xml