Updates to get runner working with TrackMaster.
Added LuaMock to allow easy restoration of mocked functions.