Merge changes from django-apps version

We want to migrate the smsgateway out of django-apps. That requires the
changes from that repository to be merged in here.
fixes for setup.py to work again.
Merge cleanup + kpnbe backend