1. Modified build.xml to refer antlib.xml instead of antcontrib.properties so that vanilla ant-contrib jar can be used instead of modified one found in build/tools/ant-contrib.
2. Stop encoding slash character when adding query parameters.
3. Also fixed some minor issues with test cases.