Implements wave-319: Improve the 'Add gadget' popup. By wavegrove@gmail.com https://reviews.apache.org/r/3960

git-svn-id: https://svn.apache.org/repos/asf/incubator/wave/trunk@1310687 13f79535-47bb-0310-9956-ffa450edef68
Handles the second part of issue WAVE-305 - cannot open new wave. https://reviews.apache.org/r/4572

git-svn-id: https://svn.apache.org/repos/asf/incubator/wave/trunk@1310688 13f79535-47bb-0310-9956-ffa450edef68
Adds more gadgets: Task Board, Strategy Planning Tools and Countdown https://reviews.apache.org/r/4707

git-svn-id: https://svn.apache.org/repos/asf/incubator/wave/trunk@1326784 13f79535-47bb-0310-9956-ffa450edef68
Changes WaveId representation to the modern style. https://reviews.apache.org/r/4828/

git-svn-id: https://svn.apache.org/repos/asf/incubator/wave/trunk@1328600 13f79535-47bb-0310-9956-ffa450edef68
Adds notifier servlet. https://reviews.apache.org/r/4829/

git-svn-id: https://svn.apache.org/repos/asf/incubator/wave/trunk@1328731 13f79535-47bb-0310-9956-ffa450edef68
Updates GravatarProfilesFetcher to use HTTPS only if needed.
https://reviews.apache.org/r/4836/

git-svn-id: https://svn.apache.org/repos/asf/incubator/wave/trunk@1328732 13f79535-47bb-0310-9956-ffa450edef68
Adds missing default values for configuration files + small fixes.
https://reviews.apache.org/r/4741/

git-svn-id: https://svn.apache.org/repos/asf/incubator/wave/trunk@1330397 13f79535-47bb-0310-9956-ffa450edef68
Adds NullPointerException protection when accessing cached deltas in
DeltaStoreBasedWaveletState.
https://reviews.apache.org/r/4923/

git-svn-id: https://svn.apache.org/repos/asf/incubator/wave/trunk@1331779 13f79535-47bb-0310-9956-ffa450edef68
Avoids crash due to IAE in link annotation converter.
By Christian Ohler.
https://reviews.apache.org/r/4769/

git-svn-id: https://svn.apache.org/repos/asf/incubator/wave/trunk@1331785 13f79535-47bb-0310-9956-ffa450edef68
Fixes WaveId.serialize() to use Modern serializer.

git-svn-id: https://svn.apache.org/repos/asf/incubator/wave/trunk@1332576 13f79535-47bb-0310-9956-ffa450edef68
Makes the threads count for executors that handle wavelet loading and
lookup configurable
https://reviews.apache.org/r/4924/

git-svn-id: https://svn.apache.org/repos/asf/incubator/wave/trunk@1332579 13f79535-47bb-0310-9956-ffa450edef68
Lucene
Use email address in user's X.509 certificate to get wave ID

This patch turns on TLS client authentication (the user requires a valid
certificate to access the service). The trusted CA certificate(s) should
be added to the keystore.

The user is automatically logged in when they access the site, with a
username derived from the email address in the certificate. Currently,
it hard-codes the logic for our site:

  foo@it-innovation.soton.ac.uk
  becomes
  foo@wave.it-innovation.soton.ac.uk

New accounts automatically the first time a particular user ID is seen.
Add settings for enable_clientauth and clientauth_cert_domain

Implement clientAuthCertDomain setting + use isRegistrationDisabled to
prevent too many registrations
Tidy up code a bit
Disabled tests
Add a disabled_loginpage configuration option
Mostly fixes login system to work nicely with both auth's  + customizable
Fix critical authentication failure if registrationDisabled