David Cameron has said "We are bringing all our resources to bear to make sure the route can be up and running", following a visit to the scene of the main train line destruction at Dawlish.