drag and drop metrics & events to chart views

Change-Id: I6a963c96acd5bfbc8df8da9a1578206f89887b64
Reviewed-on: http://review.couchbase.org/23750
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>