SMW\ApiResultPrinter check for is_integer/is_bool as well

Change-Id: I95845e19df8ed064a9875d3f770dc110571ad5b7