Cork and Macroom Direct Railway Act 1877