Reducing flakiness from Automater test

The test seemed to be failing because the screen was off or locked.
Added a launchpad activity which will dismiss keyguard and power on the
screen before starting the app_details activity. Also added
remove-active-admin as a tear down command and improved logging
to better troubleshoot failures in the future.

Bug: b/28067602
Change-Id: I348ca8bd4105afa1b37a71959fdadb56b36b76bb
diff --git a/tests/deviceadmin/deviceadminapp/Android.mk b/tests/deviceadmin/deviceadminapp/Android.mk
index 29c7cb3..6ee3943 100644
--- a/tests/deviceadmin/deviceadminapp/Android.mk
+++ b/tests/deviceadmin/deviceadminapp/Android.mk
@@ -31,4 +31,4 @@
 # tag this module as a cts test artifact
 LOCAL_COMPATIBILITY_SUITE := cts
 
-include $(BUILD_PACKAGE)
+include $(BUILD_CTS_PACKAGE)