Coleraine beat Ballymena United 3-1 to move two points clear at the top of the Irish Premiership as previously unbeaten 10-man Glentoran go down to Dungannon Swifts by the same scoreline.