Automatically install apt_repository dependencies

This follows the example of (and borrows code from) the apt module,
which will automatically install python-apt. This will make working with
repositories a bit easier just as the apt module is now easier.