Boy spared jail after becoming UK's youngest terrorism offender