Fix for renamed fred {Insert,Fetch}Exception stuff
Fix "The constructor InsertBlock(...)" is undefined

It wants a RandomAccessBucket now, not a Bucket. Thats easily fixed
because the code we use to generate Buckets in fact already produces
RABs.

- This is a cherry-pick of fa0170dc50282cd1da717f891c549ca822de9663
Conflicts:
	src/plugins/WebOfTrust/IdentityInserter.java
	src/plugins/WebOfTrust/introduction/IntroductionClient.java
	src/plugins/WebOfTrust/introduction/IntroductionServer.java
Fix compiler error about USKRetriever.cancel()

- Error was "The method cancel(ClientContext) in the type USKRetriever
is not applicable for the arguments (null, ClientContext)"
- First parameter used to be a db4o ObjectContainer, and db4o has been
removed in purge-db4o, which this branch fixes against.
Fix onGeneratedMetadata() missing supertype definition

- Compiler error would be "The method onGeneratedMetadata(Bucket,
BaseClientPutter, ObjectContainer) of type * must override or implement
a supertype"
- This branch shall fix compiling against the removal of db4o, and
ObjectContainer is a db4o type, so the natural solution is to remove
that parameter.
Compile-fix for getCHKOnly begin moved to InsertContext

- Error would be similar to "The method insert(InsertBlock, String,
boolean, InsertContext, ClientPutCallback, short) in the type
HighLevelSimpleClient is not applicable for the arguments (InsertBlock,
boolean, null, boolean, InsertContext, IdentityInserter, short)"
- There is a fred commit which solely removed the getCHKOnly boolean
parameter and moved it to FetchContext,
(https://github.com/freenet/fred/commit/6596c3e238340ce19a34f9e32611862c8f2a4390)
so the proper fix is to use the function without that parameter
- A FIXME is added to check whether false is the default, which I
suspect. I will do this with the debugger once everything compiles.
Merge branch 'master' into purge-db4o-compatibility-new
Compile-fix for move of FCPPluginClient to different package

Was done on fred branch plugin-fcp-rewrite-purge-db4o recently.
It was moved from freenet.node.fcp to freenet.clients.fcp
Compile-fix for removed callback TransferThread.onMajorProgress()

Was removed from fred in commit
93c9564237a890f4871f0a3909f3276a72b3d769.
The implementations in WOT were all empty/unused, so this commit removes
them without replacement.
Compile-fix for HighLevelSimpleClient.fetch() signature change

The RequestClient parameter was removed in commit
ce57959a614e5767bf497f69e6b8608bb2707fdc:

-	public ClientGetter fetch(FreenetURI uri, long maxSize,
RequestClient
context, ClientGetCallback callback, FetchContext fctx, short
priorityClass) throws FetchException;
+	public ClientGetter fetch(FreenetURI uri, long maxSize,
ClientGetCallback callback, FetchContext fctx, short priorityClass)
throws FetchException;

It is obtained from a callback instead now, which this commit adds.
Compile-fix for TransferThread.onFailure() signature change

The signature was changed in fred commit
5ea790c00c9c137edb45dc9548ce8ee492a107ca as follows:
-	public abstract void onFailure(FetchException e, ClientGetter state,
ObjectContainer container);
+	public abstract void onFailure(FetchException e, ClientGetter state);
Compile-fix for TransferThread.onFailure() signature change

The signature was changed in commit
e37fd31fa28c52faf3291040c056cf492ba927e5 as follows:
-	public abstract void onFailure(InsertException e, BaseClientPutter
state, ObjectContainer container);
+	public abstract void onFailure(InsertException e, BaseClientPutter
state);
Compile-fix for TransferThread.onFetchable() signature change

The signature was changed in fred commit
e37fd31fa28c52faf3291040c056cf492ba927e5 as follows:
-	public abstract void onFetchable(BaseClientPutter state,
ObjectContainer container);
+	public abstract void onFetchable(BaseClientPutter state);
Compile-fix for TransferThread.onGeneratedURI() signature change

The signature was changed in fred commit
e37fd31fa28c52faf3291040c056cf492ba927e5 as follows:
-	public abstract void onGeneratedURI(FreenetURI uri, BaseClientPutter
state, ObjectContainer container);
+	public abstract void onGeneratedURI(FreenetURI uri, BaseClientPutter
state);
Compile-fix for TransferThread.onSuccess() signature change

The signature was changed in fred commit
e37fd31fa28c52faf3291040c056cf492ba927e5 as follows:
-	public abstract void onSuccess(BaseClientPutter state, ObjectContainer
container);
+	public abstract void onSuccess(BaseClientPutter state);
Compile-fix for TransferThread.onSuccess() signature change

The signature was changed in fred commit
5ea790c00c9c137edb45dc9548ce8ee492a107ca as follows:
-	public abstract void onSuccess(FetchResult result, ClientGetter state,
ObjectContainer container);
+	public abstract void onSuccess(FetchResult result, ClientGetter
state);
Compile-fix for removal of RequestClient.removeFrom()

The callback was removed in fred commit
f48c55bfba5e6255ffb7d8cb755e1833072d3a30.
WOT did not use the callback anyway, so this commit removes the
implementations without replacement.
Compile-fix missing implementation of getRequestClient()

The RequestClient getter callback was added in fred commit
ce57959a614e5767bf497f69e6b8608bb2707fdc
Compile-fix: Add missing implementation of onResume()

The callback was added in fred commit
fab462a7daff8a3a77ba1f90999a97383a87a157
Identity: Prepare for storing FreenetURI as String

Fred purge-db4o removes the code from class FreenetURI which allows
convenient storing them inside db4o.
Thus, WOT must stop storing FreenetURI objects and instead store them as
String.

- Add member variable mFreenetURIString for storing it.
- Do not rename or remove the old mFreenetURI variable: While db4o in
theory supports deleting member variables, and reading out the data of
deleted ones for migration purposes, I do not want to actually use that
code. I have never tested it, and I want to use it as a last resort, as
it might be buggy.
- Initialize the old variable with null as the constructors and all
other functions will be changed to ignore it.
- Notice: The WebOfTrust.upgradeDatabaseFormatVersion5() which is linked
by the added JavaDoc already will be added by following commits. Also,
the code to use this variable will follow as well of course.
Identity.Identity(): Use mRequestURIString

- Store the normalized FreenetURI to new local variable before passing
it to IdentityID.constructAndValidateFromURI() because that function
expects a FreenetURI, not a String
- Don't initialize mRequestURI anymore as it is deprecated and
initialized to null at its declaration.