The contests to replace state Sen. Dan Schoen and Rep. Tony Cornish will be quick and expensive — and offer an important window into voter sentiments less than a year ahead of the state’s next major election.