service_example: Pass the brillo::MessageLoop to BinderWatcher.

The default BinderWatcher constructor expects the brillo::MessageLoop
to be marked as current. This patch passes the brillo::MessageLoop
explicitly to the BinderWatcher instead.

While at it, fixed the stdin line parsing when the message has spaces.

Bug: 26356682
TEST=mmma product/google/common/service_example
TEST=Deployed on edison-eng. It works.

Change-Id: I126a553fa1df5fd1e4bc0588b989fa38ec8d0fc9
2 files changed