Pass the charmstore into the charm details views

The charm details views when being rendered from the inspector still need access to the new charmstore so that it can fetch things like the readme and other static files.
Also fixed a bug where the entityId wasn't being set when loaded from within the inspector.