Improved handling of Rack state

- When Rack is created and the default state is `unprovisioned`

- Set to `provisioning` when Heat stack is CREATE_IN_PROGRESS or UPDATE_IN_PROGRESS

- Set to `active` when Heat stack is UPDATE_COMPLETE or CREATE_COMPLETE

- Set to `error` when Heat stack is UPDATE_FAILED or CREATE_FAILED