A seven-year-old boy has been hailed a hero after saving his friend from choking - using skills he had been taught at Scouts.