Alasdair/rwd header and footer

I think in general I wasn't adding spaces for string but was for variables. I'm not sure we need to be too prescriptive here. Generally if the line is pretty long it makes sense to add spaces for clarity but it's purely a style/readability thing so I think it's fine to leave it to personal preference.