West Ham bid farewell to the Boleyn with a win