Covariates and statistics ajax

Also includes misc styling and typos. Favicon was reverted as it has already been included to master.

NB. PR #247 to be merged before this one! 
Are both roles needed here?