test_idea_integration.py: Fix duplicate named function

There were two test_idea_on_java_sources; rename them to be unique.

Testing Done:
PANTS_DEV=1 ./pants goal test tests/python/pants_test/tasks:idea_integration

Reviewed at https://rbcommons.com/s/twitter/r/854/
Got ivy to map in javadoc and source jars for pants goal idea.

This involved a fair amount of finagling with conf variables spread across ivy_* and ide files,
and some changes to the ivy mustache. The mechanism by which confs are currently passed around
does not seem very robust. The whole system would probably benefit from some refactoring to
abstract away ivy's inner workings and streamline generic mapping settings; it would be nice to
have an abstract interface for mapping jar files. This could  also make it easier to deal with
failing downloads, parallelization, or using a different jar mapping tool, but all that can
wait for an entirely different review.

Also cleaned up some style issues that got missed in the last patch for the idea goal.

Don't do extra work if no one wants sources.