Call install_hook() on upgrade-charm.

This ensures that all the needed dependencies are installed, even
if they are new.

Also add some tests for installing.
  James Westby 2014-05-29 Call install_hook() on upgrade-charm.