web: fix deprecated access to config fields
web: fix http 500 error in qrcode servlet when no text is given
web: simplified FacesTools.getIp() and added warning when configured to
run behind proxy, but accessed directly
web: qrcode generation: do not silently ignore malformed input
web: hibernate: if no datasource is available then don't print an
exception when trying to close datasource on exit