Add bool and integer support to XML parser

XML parser always returns value of all simple types as a string.
This change makes XML parser to convert it to boolean/integer/long
value if necessary.

Change-Id: I350178ba9820dd2579cf8063f7dedb756c651ab5
Merge "Add bool and integer support to XML parser"