WIP: Hook cache up to the charmbrowser and charm details views 

As per our discussion a new id in the bundle model was created `stateId` which simplified the selection of the proper bundle.