[Android MR] Properly treat route close and termination

Previously we always notify route termination upon route close, and only
notify route close on error. This was because we rely on a separate
disconnect_session message to update state in the Web sender SDK.

Now as the Web sender SDK solely depend on the PresentationConnection
state, we just notify the route state change.

The method mapping of before -> after is:
* onRouteClosed() -> onRouteTerminated
* onRouteClosedWithError() -> onRouteClosed

Non-CAF code doesn't have behavioral change.

TBR=mlamouri@chromium.org

Bug: 711860
Change-Id: I501b9c3b94aba4d4a2f900bf8eba9d8b8179ccab
Reviewed-on: https://chromium-review.googlesource.com/1229194
Reviewed-by: Zhiqiang Zhang <zqzhang@chromium.org>
Reviewed-by: Derek Cheng <imcheng@chromium.org>
Reviewed-by: Thomas Guilbert <tguilbert@chromium.org>
Commit-Queue: Zhiqiang Zhang <zqzhang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#592576}
16 files changed