South Wales Railway Amendment Act 1847