Fix dispatching/reload errors on the charm details popout for inspector.

* Refactor dispatching to handle hashes for the charm details.
* Set up tabs dispatching.
* Setup re-rendering logic for charm details.
These two callbacks are so close we could likely combine them into a slightly more intelligent one - maybe as a future followup...