KPI resolution

New method getDashboardMetrics will get a dashboard and resolve the modules for that dashboard.

Currently only supports KPIs.