The Australian economy ended 2016 on a high note, with a record trade surplus of $3.5 billion for December, buoyed by strong results in the mining sector.