Refactoring ClientRecord handling

This CL unifies the handling of ClientRecord. Now ClientRecord
has 1-1 mapping with the routes. They are added and removed at
the same time.

BaseMRP now has a addRoute/removeRoute method to handle route
changes. CafMRP overrides these methods to handle ClientRecords
as well.

Bug: 711860
Change-Id: Ia7b8703ae45c36f36fdc3512ca33a1cc86477ab0
Reviewed-on: https://chromium-review.googlesource.com/1192333
Commit-Queue: Zhiqiang Zhang <zqzhang@chromium.org>
Reviewed-by: Thomas Guilbert <tguilbert@chromium.org>
Cr-Commit-Position: refs/heads/master@{#586946}
3 files changed