[split] Address or suppress warnings.

Add `-deprecation` to `scalacOptions`, and `-Xlint:unchecked` to `javacOptions`, so we see details of warnings.

For *Classpaths.publishConfig* is deprecated*, set `overwrite = true`.

For *unchecked cast*, add `@SuppressWarnings("unchecked")`.

For *Possible heap pollution from parameterized vararg type T*, add `@SafeVarargs`.

Signed-off-by: Nik Shkrob <nshkrob@twitter.com>

RB_ID=457763
[split] csl: publish the world

RB_ID=450951
TBR=true
[split] scrooge: Remove SafeVarargs for JDK 6 compatibility.

RB_ID=459647
[split] birdcage: Upgrading scalatest + scalacheck

RB_ID=450425
[split] csl: remove 2.9.2 from sbt projects

RB_ID=460663
[split] scrooge-serializer: Remove dependency on scrooge-runtime

Problem

It would be nice to publish scrooge-serializer against 2.11.  For
example, algebird depends on it.

Solution

Because scrooge-serializer only depends on features in scrooge-core,
we can publish properly for scala 2.11 today by changing the
dependency to be on scrooge-core instead of scrooge-serializer.

Result

We can now publish scrooge-serializer against 2.11.

RB_ID=461145
[split] birdcage: Remove excess maven_layout usage.

maven_layout sets up source roots for scala/java/tests/etc, rooted at the location it is used in a BUILD file. Thus, it should only be used in places where `src/(main|test)/(java|scala)` are expected. New validation in the latest version of pants (occasionally) disallows this.

- Remove excess maven_layout usage.

RB_ID=461987
TBR=true
[split] Fix orphan snapshot references in pom files

RB_ID=461907
[split]  add is required to ThriftStructFieldInfo

RB_ID=371398
[split] scrooge: Cache mustache resources to improve generation performance.

RB_ID=474123
[split] birdcage: Rename thrift targets to prepare for switch to consume_thrift_libraries

- Rename a bunch of thrift targets to prepare to move them to binaries

While being slightly more verbose in many cases, this sets us up to use a helper method that removes a bunch of redundancy in 3rdparty while improving safety.

RB_ID=477533
TBR=true
[split] Upgrade pants in the birdcage to 1.0.9rc6.

RB_ID=473421
[split] [scrooge] minor docs update: add logo and short description

RB_ID=481071
[split] bump util to 6.22.1-SNAPSHOT

RB_ID=482027
TBR=true
NO-QUEUE=true
[split] bump finagle to 6.22.1-SNAPSHOT

RB_ID=482581
TBR=true
NO-QUEUE=true
[split] bump scrooge to 3.17.1-SNAPSHOT

RB_ID=482611
TBR=true
[split] use org.apache.thrift libthrift 0.5.0-1 universally

tl;dr: 0.5.0 has a bug, 0.5.0-1 doesn't.  See THRIFT-223 for the explanation of the problem.

Exceptions:
scrooge-generator (0.8, only used by eventbus-thrift and some leaves)
scrooge-benchmark (0.8)
ostrichagg (0.8, I don't know why, but I believe it's a leaf)

Note this *downgrades* scrooge-core from 0.8 to 0.5.

libthrift 0.5.0 and 0.5.0-1 were published by twitter, not Apache.
They're publicly available on maven.twttr.com.

Note the 0.5.0 pom.xmls (thrift and org.apache.thrift) are empty.  The
0.5.0-1 pom.xml has dependencies on slf4j-api and commons-lang.

RB_ID=474051
[split] scrooge-linter: Change --ignore-errors flag meaning; add more flags.

RB_ID=479953
TBR=true
[split] scrooge: Cache parsed documents for performance.

RB_ID=478379
[split] scrooge: Remove cross-building with sbt-0.12.

RB_ID=486867