Added <testIncludes> and <testExcludes> parameters

I added a testIncludes and testExcludes parameter to support more robust
testing, particularly to unit test executables by excluding the main
routine and including a test main routine. I preserved the previous
behavior whenever testIncludes and testExcludes are not specified.