Add shouldRunAfter ordering to Ant target dependencies

Dependencies of Ant targets imported into Gradle using `ant.importBuild()` are ordered as declared using `shouldRunAfter`. This is to help people with use cases like the ones in [GRADLE-474](http://issues.gradle.org/browse/GRADLE-427) and [GRADLE-1102](http://issues.gradle.org/browse/GRADLE-1102).