The RMT Union turned down a 5% pay rise offered by Network Rail, in a long row over pay and working conditions.