Adding check for required dependencies in setup

This check was added because the agent will run without these packages installed
but the agent would not send all of the documented system metrics with no explanation of why.

Change-Id: I445ae8d1b76be9a797bce5c39db71f7511f332be
Merge "Adding check for required dependencies in setup"