Correct inconsistent state issues with config

Running configuration-attach with 2 different configuration groups
against the same instance can result in unintended combinations of
dynamic parameters. In order to address this, 3 changes have been
made:
1. Return an error if a configuration-attach attempt is made to an
instance that already has an attached configuration group.
2. Only allow configuration-attach when instance is in ACTIVE state.
3. Always set RESTART_REQUIRED on configuration-detach.

Change-Id: I35770eafdc2841ac58b770851efc953e0370c2cb
Closes-Bug: #1301683
Merge "Correct inconsistent state issues with config"