Add IntelliJ content type to project Info. Add missing resources to targets.

This is required for intelliJ pants plugin to correctly mark the source, resource, test target and test resources.

The constants are defined here in IntelliJ
http://grepcode.com/file_/repository.grepcode.com/java/ext/com.jetbrains/intellij-idea/13.0.0/com/intellij/openapi/externalSystem/model/project/ExternalSystemSourceType.java/?v=source

Testing Done:
Locally ./pants tests/python/pants_test/tasks:depmap passes

https://travis-ci.org/pantsbuild/pants/builds/33880605

Reviewed at https://rbcommons.com/s/twitter/r/964/
jar_library docstring += dependencies

eagle-eyed J.I. Ioannidis noticed that our 3rdparty JVM docs show jar_library(dependencies=) but the BUILD dictionary doesn't (at least, I think that's what's going on)

until we fix https://github.com/pantsbuild/pants/issues/142, add doc for this param by hand, like an animal

Reviewed at https://rbcommons.com/s/twitter/r/960/
add include-excerpt feature to 'goal markdown'

Extend markdown syntax so that page authors can "include" a snippet from a real source file. Inspired by the way the Pants docs use Spinx's literalinclude http://sphinx-doc.org/markup/code.html#directive-literalinclude .

Added docs for it in src/python/pants/docs/page.rst

Exercise it in examples/src/java/com/pants/examples/hello/main/README.md

Testing Done:
Added test_markdown_to_html.py with a bunch of tests for the "excerpt a few lines" functionality, which has corner cases.

https://travis-ci.org/pantsbuild/pants/builds/33925158

Reviewed at https://rbcommons.com/s/twitter/r/949/
Move the jvm_compile/java IT from unit to IT.

Noticed this one very slow test when running the unit tests via :all which is not dead yet.

Testing Done:
CI went green here: https://travis-ci.org/pantsbuild/pants/builds/34067665

Bugs closed: 542

Reviewed at https://rbcommons.com/s/twitter/r/970/
Fixup engine test deps.

I was starting to look at coveralls and ran into some missing deps on my chosen victim test target, this fixes the deps up.

Testing Done:
```console
$ PANTS_PY_COVERAGE=1 ./pants goal test tests/python/pants_test/engine
$ PANTS_PY_COVERAGE=1 ./pants goal test tests/python/pants_test/engine:test_engine
$ PANTS_PY_COVERAGE=1 ./pants goal test tests/python/pants_test/engine:test_round_engine
$ COVERALLS_REPO_TOKEN=XYZ coveralls
```

https://coveralls.io/jobs/2668487

CI went green here: https://travis-ci.org/pantsbuild/pants/builds/34040483

Bugs closed: 369, 540

Reviewed at https://rbcommons.com/s/twitter/r/968/
Add a whitelist to jvm dependency analyzer

The whitelist allows big repos to reduce dependency issues while stopping any new from being introduced. You can whitelist the projects that currently have issues and make the dependency checks fatal. All projects with current issues will still be able to build but new issues will result in breaking builds.

Also it seems like the direct dependency check would always fatal if set to fatal, fixed that.

Testing Done:
Added two integration tests.

Reviewed at https://rbcommons.com/s/twitter/r/888/
Fixed source roots in project info for IntelliJ plugin in case of ScalaLibrary with java_sources

Testing Done:
CI is passing.

Reviewed at https://rbcommons.com/s/twitter/r/955/
Fix the --ivy-report option and add integration test

I inadvertently broke this back at https://rbcommons.com/s/twitter/r/941/ by  removing the override from pants.ini
I went back and audited other bootstrap-tools references and made them absolute address specs and made sure they were surrounded in '[]'

Testing Done:
CI passed, invoking with --ivy-report manually from the command line no long throws an exception and creates a report.

Bugs closed: 545

Reviewed at https://rbcommons.com/s/twitter/r/976/
Add Coveralls code coverage badge

https://coveralls.io/r/pantsbuild/pants
predictable output path for 'goal markdown'.

Instead of outputting to .pants.d/something/... , generate to dist/markdown

(A Twitter team was smooshing Task code into a BUILD file to tweak page generation.
This here change aims to generate .html in a predictable place.
So that Twitter team (or maybe I) can scriptily modify that .html _not_ in a BUILD file, sheesh.)

Testing Done:
https://travis-ci.org/pantsbuild/pants/builds/34236236

and added a test

Bugs closed: 535

Reviewed at https://rbcommons.com/s/twitter/r/961/
Remove IntelliJ contants ClassName. Make them more generic.

This review is to patch the comments from https://rbcommons.com/s/twitter/r/964/

Testing Done:
https://travis-ci.org/pantsbuild/pants/builds/34313082

Reviewed at https://rbcommons.com/s/twitter/r/987/
Add support for doing remote publishes with an explicit snapshot name

This patch initially contributed by Ian O`Connell allows for local or remote publishing of "named snapshots". Named snapshots skip semantic versioning, and  record a "named_version" in the pushdb.

Testing Done:
additional publishing smoketest

$ yes | PANTS_DEV=1 ./pants goal publish \
  --publish-local=blah \
  --no-publish-dryrun \
  --publish-force \
  --publish-named-snapshot=436ae2dee0e2fc15a6ccfd2fcec5231b8e127a8d \
  examples/src/java/com/pants/examples/hello/greet
...

$ ls -lR blah
total 0
drwxrwx---  3 stuhood  admin  102 Aug 21 18:20 com

blah/com:
total 0
drwxrwx---  3 stuhood  admin  102 Aug 21 18:20 pants

blah/com/pants:
total 0
drwxrwx---  3 stuhood  admin  102 Aug 21 18:20 examples

blah/com/pants/examples:
total 0
drwxrwx---  3 stuhood  admin  102 Aug 21 18:20 hello-greet

blah/com/pants/examples/hello-greet:
total 0
drwxrwx---  17 stuhood  admin  578 Aug 21 18:20 436ae2dee0e2fc15a6ccfd2fcec5231b8e127a8d

blah/com/pants/examples/hello-greet/436ae2dee0e2fc15a6ccfd2fcec5231b8e127a8d:
total 184
-rw-rw----  1 stuhood  admin  34462 Aug 21 18:20 hello-greet-436ae2dee0e2fc15a6ccfd2fcec5231b8e127a8d-javadoc.jar
-rw-rw----  1 stuhood  admin     32 Aug 21 18:20 hello-greet-436ae2dee0e2fc15a6ccfd2fcec5231b8e127a8d-javadoc.jar.md5
-rw-rw----  1 stuhood  admin     40 Aug 21 18:20 hello-greet-436ae2dee0e2fc15a6ccfd2fcec5231b8e127a8d-javadoc.jar.sha1
-rw-rw----  1 stuhood  admin   1635 Aug 21 18:20 hello-greet-436ae2dee0e2fc15a6ccfd2fcec5231b8e127a8d-sources.jar
-rw-rw----  1 stuhood  admin     32 Aug 21 18:20 hello-greet-436ae2dee0e2fc15a6ccfd2fcec5231b8e127a8d-sources.jar.md5
-rw-rw----  1 stuhood  admin     40 Aug 21 18:20 hello-greet-436ae2dee0e2fc15a6ccfd2fcec5231b8e127a8d-sources.jar.sha1
-rw-rw----  1 stuhood  admin   2046 Aug 21 18:20 hello-greet-436ae2dee0e2fc15a6ccfd2fcec5231b8e127a8d.jar
-rw-rw----  1 stuhood  admin     32 Aug 21 18:20 hello-greet-436ae2dee0e2fc15a6ccfd2fcec5231b8e127a8d.jar.md5
-rw-rw----  1 stuhood  admin     40 Aug 21 18:20 hello-greet-436ae2dee0e2fc15a6ccfd2fcec5231b8e127a8d.jar.sha1
-rw-rw----  1 stuhood  admin    867 Aug 21 18:20 hello-greet-436ae2dee0e2fc15a6ccfd2fcec5231b8e127a8d.pom
-rw-rw----  1 stuhood  admin     32 Aug 21 18:20 hello-greet-436ae2dee0e2fc15a6ccfd2fcec5231b8e127a8d.pom.md5
-rw-rw----  1 stuhood  admin     40 Aug 21 18:20 hello-greet-436ae2dee0e2fc15a6ccfd2fcec5231b8e127a8d.pom.sha1
-rw-rw----  1 stuhood  admin   1009 Aug 21 18:20 ivy-436ae2dee0e2fc15a6ccfd2fcec5231b8e127a8d.xml
-rw-rw----  1 stuhood  admin     32 Aug 21 18:20 ivy-436ae2dee0e2fc15a6ccfd2fcec5231b8e127a8d.xml.md5
-rw-rw----  1 stuhood  admin     40 Aug 21 18:20 ivy-436ae2dee0e2fc15a6ccfd2fcec5231b8e127a8d.xml.sha1

Reviewed at https://rbcommons.com/s/twitter/r/923/
doc: don't recommend python_test(entry_point=).

It's cruel to recommend no-longer-existing params

Reviewed at https://rbcommons.com/s/twitter/r/965/
howto_contribute: changing UX? then add to CHANGELOG.rst. and maybe docs

I've been forgetting to update the CHANGELOG.rst file. Maybe I'll remember it if I add a mention to the docs... either because it's doc'd or because of memories of this public confession.

Bugs closed: 397

Reviewed at https://rbcommons.com/s/twitter/r/992/
remember to update the CHANGELOG

Reviewed at https://rbcommons.com/s/twitter/r/993/
When a directory contains both a java_library and junit_test def, make sure the IDE understands this is a test pth, not a lib path

In our repo we have projects with BUILD files with 2 targets like:

```
java_libary(name='lib', ...)
junit_test(name='test', ...)
```

Sometimes, the ide_gen code saw the 'java_library' target first and considered that a regular source path, not a test source path, which causes tests to break in the IDE if they depend on libraries only defined in another test source path.  In project.iml, we would see the path defined with is_test="False"

This is just a workaround, as ide_gen still might not always add test folders properly:  If there is a java_library defined in a BUILD file under /src/test/java but no  junit_test, ide_gen mistakenly thinks this is plain source path, not a test source path.

Testing Done:
Re-ran goal idea on our test targets, the folders containing both tests and libraries that were previously 'blue' (regular source paths) are now green as they should be.

Bugs closed: 551

Reviewed at https://rbcommons.com/s/twitter/r/996/