Coleraine maintained their pursuit of the top two as the Bannsiders recovered from a two-goal deficit to beat Cliftonville.