Make Juju retry apt-get commands.
Split up long line for getting the exit code (dimitern's review)

 * Add comments
Use an AttemptStrategy instead of hand-rolling one (Tim's review)

 * Fix up comment
Off by 9 error (oops)
Merge pull request #22 from sparkiegeek/apt-retry

Make Juju retry apt-get commands.