Update debian and raspbian mirrors.

Use the mirrordirectors for both to always get a nearby mirror
Add support for an apt proxy.

If set, this gets used for bootstrapping the image, and also configured
inside the image for future package installs.