Renders the inspector using the changeState system

#### Note
The `li` flag has been removed and rolled into the `state` flag.

#### To QA
- Use the `state` flag
- Add a service to the canvas, a ghost inspector should show up.
- Deploy the service, the service inspector should show up.
- Close the inspector.
- Click on the deployed service icon and the inspector should render again.

#### Known issue
- Closing the inspector does not modify the state so it does not revert back to the charmbrowser (follow-up).