LPS-46191 In core modules/apps/polls if you run "ant clean compile", it'll break because polls-web will have polls-api.jar and polls-service.jar which get copied properly, but in compile-portlet, that classpath is built before those jars are copied. So we need to tell it to reset the classpath to include those new jars once the dependencies are calculated.
LPS-46191 Remove old SDK code that is broken. I discovered it while running "ant clean war" in polls-web. If you type "ant clean jar" it works. But after this fix, both work.
LPS-46191 Auto add c.tld if they put osgi.auto.update.xml. If they already have one, we will use that instead of the default c.tld.