Republican Joe Lhota won his party's primary, but the Democratic primary is proving to be a bit messier.