Move common code into ckan_util

Change prints in users2ckan.py to logger calls