Move hooks into module

Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
test: Fix doctests with relative imports

Plain python -m doctest … does not work with relative imports, but nosetest
is hanlding it just fine.

Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
Rename Bin to ExternalBinary

Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
Move entry into __main__

Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
test: Run runtime tests on current code

Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
Move imgbased into place and fix testsing

Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
Update requirements

Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
Don't track config.py

Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>