re-render fdroid logo pngs
Show search/run MenuItems in action bar.

This is only done if the device api version is >= 11, and if there is
room in the action bar. I added the funcitonality in a new class
CompatabilityUtils because there may be other things for which this is
desirable.
Also show "add repo" and "update/install" in action bar.

The "update" icon was a "+" (add icon) which looked a bit weird, so a
quick search of other UI's shows that the "refresh" icon is used for
"update". The official Android reference docs say to copy icons that
aren't part of the android.R.drawable.* constants into your own
drawable-* folders, so I've done that here. The icons are from android
SDK version 17.
WIP: Adding tab swiping, which is a bit more work than I thought.
Finished implementation of swipe to change tabs.
Replace CompatibilityUtils with android.support.v4.MenuItemCompat
Made fragments work properly.

As this was my first experience with fragments, I didn't respect
their lifecycle properly. I think this has solved the issue I was
having, where recreating the app list fragments after it was destroid
by Android caused them to stuff up.
WIP: Refactoring fragments to handle click events themselves.
Improve stream handling

Close streams on error paths, ensure flush, and use consistent buffer
size.  Also add and use stream utilities.
Make menu update after install.
Fragments now have a proper lifecycle.
Merge branch 'master' into issue-135-tab-swiping

Conflicts:
	src/org/fdroid/fdroid/FDroid.java
Added license and readme for android support library.
Fixed issue with initial update.
Do not display fractional bytes

Also do not allocate String array on every invocation.
Merge commit 'refs/merge-requests/18' of git://gitorious.org/f-droid/fdroidclient into merge-requests/18
Merge commit 'refs/merge-requests/20' of git://gitorious.org/f-droid/fdroidclient into merge-requests/20
Merge commit 'refs/merge-requests/22' of git://gitorious.org/f-droid/fdroidclient into merge-requests/22
Merge commit 'refs/merge-requests/23' of git://gitorious.org/f-droid/fdroidclient into merge-requests/23
Change license from GPLv2+ to GPLv3+