Scientists have taken the first step in developing an objective, brain-based test to diagnose autism.