Added checks to stringToBoolean in string manipulator

Signed-off-by: Tom Wright <tom@inflatablecookie.com>
Added boolean handling in xml reader and writer

Signed-off-by: Tom Wright <tom@inflatablecookie.com>