Kallum Higginbotham and Ross Forbes struck late goals to snatch Partick Thistle a 2-1 Scottish Premiership victory over St Mirren at St Mirren Park.