A prolific offender, Barry Lowery, has been jailed after a targeted spree on Durham student housing.