Cleanup a few APIs in mock agent

Following changes hasv been implemented:

- Pass NextHops parameter as a const reference instead of by value
- Remove NextHops and RouteAttribute parameters from delete methods

Change-Id: Iecd71053a82cf70404f1c5c726cb919096ad41e6
Merge "Cleanup a few APIs in mock agent"