[Linter] Cleanup the github sources checks

Code climate hates this function so I pulled it apart a little bit. Also since you can't have a gist that starts with `www.`, added a check for
that as well. Related to #48 as this is another small improvement to the linter.
There is already a private label higher up in the file. I can add it back if we want it for consistencies sake.