Dashboard queries

Initial version, done for 

https://issues.jboss.org/browse/AGPUSH-651