Add preference to determine whether to write Canonical link to head
Update version to 2.8