Report metrics to statsd from update engine

Call the proper logging functions after an update attempt or a
successful update. This is part of the effort for the new metrics
mechanism migration.

Bug: 137682371
Test: run statsd_testdrive and check events
Change-Id: I1174ff37d049172a8a6b14d47aa40c54f26be183
diff --git a/Android.bp b/Android.bp
index a13a92b..a346a2a 100644
--- a/Android.bp
+++ b/Android.bp
@@ -246,6 +246,7 @@
         "liblog",
         "libmetricslogger",
         "libssl",
+        "libstatslog",
         "libutils",
     ],
 }