Plans to showcase Leeds's historic collection of locomotives are on the right track after being awarded a major funding boost.