Fix typo.
Add login page.

This is adapted from Freetalk. WoT does not have the shortest unique
name to describe an identity that Freetalk does, so full identity ID is
used instead. This page is also intended for use by other WoT-enabled
plugins, and allows specifying a redirect target after successful login
with the redirect-target parameter. See
plugins.WebOfTrust.ui.web.LogInPage for details.
Rename constant to follow conventions.

Should be all caps with underscores.
Remove configuration page.

The configuration page is blank, so listing one is confusing.
Refine comments.
Rename "Home" page to "Statistics".

The local identities page will soon be the logged-in homepage.
Merge branch 'session-login' of https://github.com/Thynix/plugin-WoT-staging into Thynix-session-login
List logged-in nickname on local identities page.
Fix NPE listing local identities with expired session.

useSession() returns null if there is no valid session.
Merge branch 'session-login' of https://github.com/Thynix/plugin-WoT-staging into Thynix-session-login
Remove useless double variable initialization.
Move ID_LENGTH to where it belongs - it was a duplicate constant anyway. This also resolves a TODO.
Fix synchronization issue:
We should either not synchronize at all or synchronize over the full processing of the result set. Since we might use lazy query evaluation mode some day, I'd like to have full synchronization.
Fix identity creation not being possible when none exist
Fix hardcoding of the CreateIdentityWebInterfaceToadlet URI in LogInPage.makeCreateIdentityBox():
- fixed by providing a generic webInterface.getToadlet()
Don't generate an error message for SizeLimitExceededException here - we do not process user-entered information so this is very unlikely to happen and if it does there is no extra error message needed.
Remove l10n strings which are now incorrect since the HomePage was renamed to StatisticsPage:
I cannot update them since I don't speak those languages
Organize imports
Hide all menu entries except the "Log in" entry when no WOT identity is logged in
Use URI objects instead of String