Move site specific gradle code into functions

Reduces amount of DSL to include when adding a new site.
Make signingConfigs and sourceSets from site list
Merge branch 'gradle-site-cleanup'