first version of self-registration
improved performance a little by making the json writer thread-local
increased timespan for serialisation time to make tests pass on slower machines
fixed bug where new nodes were not indexed in care cases
made app host and port available in service context
improved self-registration:
auto-login after confirmation
JSESSIONID cookie will be set
default values in case no mail templates are found
Merge branch 'feature/self_registration' into develop