Added ability to run a single test to build.xml.

Add -Dtestcase=TestClassName to the ant command to run a single class.
Fixed IndexTest cases that were failing on CentOS with Splunk 5.