Use source/CNAME (if it exists) to set _config.yml url property
Extract method
Improved readability
Merge pull request #1328 from sharethrough/master

Use the CNAME from /source when (re)generating _config.yml