Cody Cooke's goal at the death won it for Torquay over a ten man and now relegated Aveley