Export the return codes in Python modules

Signed-off-by: Jakub Filak <jfilak@redhat.com>