A 104-year-old Second World War pilot has been granted the “highest honour” by the mayor as he is awarded freedom of the town.