A criminal case involving a city councilman and a Medford media blogger was thrown out of Cambridge District Court.