happstack: Minor refactoring, addedn MasterTemplate.hs file.