install metadata-agent packages and make the service configurable

Change-Id: I677fd318ff1d73465e8df682267d2d882c19ae0e
Merge "install metadata-agent packages and make the service configurable"