Retry apt commands if they fail (e.g. if the lock is already held.)
Improve comment.
Merged apt-retry [r=tribaal,davidpbritton].

Retry apt-get if the lock can't be aquired. If we get an error from
apt-get we'll retry for 5 minutes.

Currently the code retries on any error, since I couldn't see an
easy way of checking for locking errors only.
Added a python version of the install hook.
Refactored the hooks to use charmhelpers (for now, charmhelpers is not copied)
Fixed tests.
Refactored the python install hook
Addec charmhelpers config file.
Added a checkout of charmhelpers to the charm.
Merged the install.py file in the more general hooks.py file.
The install hook now points back to the hooks.py file.
Fixed import errors.
Fix typo
Fixed the origin charm-config handling.
Data path was wrapped in a list.
* removed useless backup file.
* Make hooks use dependency injection for brokers.
Removed stray commented code.
Removing hooks/install
Re-added install symlink to hooks.py.
Merge trunk, remove conflicts.
Wrapped the hook execution in sys.exit() to make sure the hook return codes
are propagated back to the shell.
Removed unit name as computer name.