Logos output

With the update to add the logos uploaded via the CMS came a whole slew of other considerations. Settings updated in the CMS are now queried and then cached forever and passed to each page. Only when a setting is updated via the CMS does the cache get cleared to re-query and then cache again forever. Also made some style fixes to a couple straggling things.

@angaither 

CC: @barryclark @DFurnes 
function name is too general.
also, pass in what value you want to get from the database instead of returning all values.