Buck: Upgrade to the latest version

Since [1] genrule() target doesn't accept deps parameters any more.
As replacement, cmd should use $(location :foo) macro. Reshuffle some
rules to fix existing genrule targets. Remove all rule, as it cannot
depend any more on api and release. Moreover create all.zip with both
api.zip and release.war included doesn't make really sense. Adjust the
documentation correspondingly.

gen_licences.py is accepting first order dependencies and computes the
classpath on its own. Make it work for now by passing the classpath for
the dependencies.  Add a TODO to clean this up and accept the classpath
from the Buck side, similar to what was done in Ifd2dcf69aa.

[1] https://github.com/facebook/buck/commit/d2c6edbf7b41ee5662902c1f06f570fa4bc8e005

Change-Id: Ia8ce9c1c9dc30bb88d186d5d6556aa9acbacfaed
5 files changed