added default for domain property if missing from config.json and used that property in callback url for twitter oauth
refactored authorize function into a service
Merge branch 'master' of https://github.com/marshmellow1328/social-worker