Kill goal dependencies.

Review Request #1577 - Created Jan. 7, 2015 and submitted

John Sirois
917, 918
benjyw, ity, zundel
These have not been used since the new options system went in and only cause confusion.
This change strips uses in pants itself but keeps the TaskRegistrar parameter around
for a deprecation cycle, printing a warning to those still using the now-ignored parameter.

 examples/src/python/example/pants_publish_plugin/ |   1 +
 src/python/internal_backend/optional/             |   9 +---
 src/python/pants/backend/android/                 |  12 ++---
 src/python/pants/backend/codegen/                 |  15 ++----
 src/python/pants/backend/core/                    |  88 ++++++++++++++-----------------
 src/python/pants/backend/jvm/                     | 140 ++++++++++++++++++--------------------------------
 src/python/pants/backend/python/                  |  24 ++-------
 src/python/pants/goal/                                |   6 +--
 src/python/pants/goal/                      |  26 ++++++++--
 9 files changed, 127 insertions(+), 194 deletions(-)

I left 1 dep laying about to double-check the warning look & feel:

$ test tests/python/pants_test/base:: --print-exception-stacktrace
*** Running pants in dev mode from /home/jsirois/dev/3rdparty/jsirois-pants2/src/python/pants/bin/ ***

WARNING: Registered dependencies are now ignored and only `Task.product_types`
and product requirements as expressed in `Task.prepare` are used to
infer Task dependencies.

Please fix this registration:
  TaskRegistrar(python-binary-create, <class 'pants.backend.python.tasks.python_binary_create.PythonBinaryCreate'> serialize=True)
    File "/home/jsirois/dev/3rdparty/jsirois-pants2/src/python/pants/backend/python/", line 47, in register_goals
    dependencies=['bootstrap', 'resources']).install('binary')

16:19:43 00:00 [main]
               (To run a reporting server: ./pants server)

CI went green here:

Ity Kaul
John Sirois
John Sirois
Eric Ayers
Benjy Weinberger
Stu Hood
John Sirois
John Sirois
John Sirois
John Sirois
John Sirois
John Sirois
Review request changed

Status: Closed (submitted)

Tejal Desai
Ship It!