Upgrade scalaz and address warnings