York and North Midland Railway (Canals Purchase) Act 1847