Example for SelfCollector and user-defined Metric.

Change-Id: I096968fd710772056ed9b5a3f35fbf7f8e8ede30
Fixed and improved InstrumentHandler.

Change-Id: I48512dc9417301816ffc79f2d497430cec6aed66