build: Allow building with OpenJDK

My local builds with OpenJDK have been successful - no
reason to disallow it, let's go free...

Also allow OpenJDK 7

Conflicts:
	core/main.mk

Change-Id: I01e6cb87e8a7f39db7d762405889221ce287f1ef
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
Allow building with javac 1.7

Change-Id: Id8d78558736482e10c52f2cc86a2b903b1fbdbe5
Some changes added to compile and run with Java 6 and Java 7.

  - correction of errors with Javac 6:
    - target 1.5 and source empty.
  - correction of errors with Javadoc 7:
    - strange behavior when duplicate classes are given.

Change-Id: Ib814ede143f7799ef18e0fb1b733547519b8b0e5
Merge "build: Allow building with OpenJDK" into kk4.4
Merge "Allow building with javac 1.7" into kk4.4
Merge "Some changes added to compile and run with Java 6 and Java 7." into kk4.4
Add repopick script from CM

patchset 4: cybojenix
  clean up the script:
    remove fetching from github
    cleaned up fetching locations of binaries
    if ANDROID_BUILD_TOP isn't defined, error out

PS 5:
  Added back the check if fetch succeeded.
  Fixed verbose print about fetching.

patchset 6:
  final changes
    fix detecting ANDROID_BUILD_TOP
    send all relavant data to stderr

Change-Id: If67c5f178d03fadd8b79b1908f4a9cb231efbb28
repopick: Add a way to checkout instead of cherrypick

This helps if you want to take a commit and its dependencies, and not
just a particular commit

Change-Id: Ib245cce560c7b0d6fd03198a8c69a13d4720a4cb
repopick: Allow picking batch of commits with the same Change-Id

Gerrit does allow assigning the same Change-Id for multiple commits. This patch allows picking them properly.

Change-Id: Idedc64f58eebe41a0d212c72329d15acff24efb9
repopick: Don't redirect stdout on --quiet

For some reason, when --quiet is specified (example:
repopick --quiet -c 7834), git ends up in /home instead
of the actual repository.

This is a quick workaround until a proper solution is found

Change-Id: I60e0f684909a23b557ee3147b8954b71be995319
repopick: fetch from Slim gerrit

Change-Id: If3532cf6e4ab2549bffbb2bb2ba7d9814d5eff1e
Merge remote-tracking branch 'upstream/kk4.4' into kk4.4-mo4