Trim trailing whitespace
Add queryURI field to WikipediaPage data type and refactor WebService.hs