Harmony just doesn't have the system.console() method - default to AWT
Workaround for http://code.google.com/p/support/issues/detail?id=5576
Add pluggable inflater factory, allow setting a Harmony-friendly inflater

Under Harmony, the Inflator.inflate() method would return immediately
without examining the stream if you ask for zero-bytes of data.

This means finished() would never return true if you are naively trying to
inflate a zero-length file into a zero-length array....

....consequently jgit unpacking a zero-length file blob would blow up with:

"fatal: Packfile corruption detected: Unknown zlib error."
Fix for broken Android implementation of InflaterInputStream.close()

This fix is a bit of a hack - low-impact, but also fixing the problem in
the 'wrong' place, ie the Inflaters used by the InflaterCache- really,
should be fixing the implementation of InflaterInputStream. On Android
InflaterInputStream always ends() the Inflater it was using when closed,
even if the Inflater was not internally constructed ut supplied in the
constructor - in Oracle Java externally-provided Inflaters are NOT ended.

See https://github.com/rtyley/agit/issues/47 for more details.
Fix ref update perf- don't call isNameConflicting for an existing ref

For batch ref updates isNameConflicting() is a performance killer.

It performs a *full* loose object scan for each ref update - very slow.

Change-Id: I890f50c82cf05591522bd5acc1c08cd242a3e55d
Set OSS as parent pom, remove dist management, add scm configuration for my GitHub
Madgag group - can use this sed expression:

ack-grep -l --xml '<groupId>org.eclipse.jgit' | xargs sed -i "s/<groupId>org.eclipse.jgit</<groupId>com.madgag</"
Update pom versions to reflect this is an unofficial release

ack-grep -l --xml '<groupId>com.madgag' | xargs sed -i "s/<version>2.2.0-SNAPSHOT</<version>2.2.0.0.1-UNOFFICIAL-ROBERTO-RELEASE-SNAPSHOT</"