adding in header.type to function calls
more places where header.type was missing
corrected wrong variable name "outHead" to "outTitle"
added header.type to html.postlist
removed all references to header.type in function calls to see if we can just find the global variable
changed default config.R to include header.type, and added comment on how we are getting the header.type variable