adds utility function for parsing booleans
runs ant graphicstests
changes parsing of boolean types to use the new utility function

fixes #53