HPCC-11201 Add "getTreeWithProperties" to GraphControl

Fixed compiler cast warnings (double to int).

Signed-off-by: Gordon Smith <gordon.smith@lexisnexis.com>