Only open service inspector if ghost inspector has not been destroyed.
test added for multiple inspectors.
Now works with previously destroyed inspectors.

Pushing reset onto cleanups.
Test added for existing inspector being destroyed.
Merge pull request #227 from makyo/ecs-ghost-deploy

This ensures that inspectors for multiple ghost services (as will be possible under ECS conditions) will not flicker and randomize on commit.  To QA:

1. Run with the ecs flag
2. drag two or more services onto the canvas and click deploy once on each
3. On the last services, run `app.ecs.commit()` in the debugger
4. The inspector should simply change from ghost to service inspector without flickering between services and possibly ending up on a random service.

NB: this PR was co-opted from earlier work that hasn't passed design yet, revolving around the immediate option flag.  Such may come up later.
Added a new url generation method to create a valid url from the state object
Merge pull request #232 from hatched/state-change-url

#### No QA
API for retrieving/listing local charm files.