core: Cleanup of GetSystemStatisticsQuery

Replaced all hard coded strings with contstants, extracted logic to separate
methods, renamed variables by Java standard and other minor changes

Change-Id: Ibb87448c24c6ac32838ae2e381856f478c27ea52
Signed-off-by: Tal Nisan <tnisan@redhat.com>