Moved CameraX bind methods to core-lifecycle

Moved the CameraX bindToLifecycle(), unbind(), and unbindAll() methods
to the CameraProviders class so that LifecycleOwner is public only in
camera-lifecycle. CameraProviders currently just delegates to the orignal
CameraX class which has been made hidden.

Bug: b/142837875
Test: ./gradlew bOS
Change-Id: Ic5b0df22ed80dfa71672389eefd1e0522ea6c565
diff --git a/camera/camera-lifecycle/build.gradle b/camera/camera-lifecycle/build.gradle
index 74e1b26..4c91a6f 100644
--- a/camera/camera-lifecycle/build.gradle
+++ b/camera/camera-lifecycle/build.gradle
@@ -26,6 +26,7 @@
 
 dependencies {
     api(project(":camera:camera-core"))
+    api("androidx.lifecycle:lifecycle-common:2.1.0")
     annotationProcessor(AUTO_VALUE)
 }