Item12481: using "::contents" logic in templates

also:
- improved password generator in user registration and change passwd
- hide password tools when passwords can't be changed anyway
- css improvements for textboxlist, tables, disabled form elements, legend
- css improvements in login screen, i.e. to make it responsive
- using livequery init'ing the skin wherever there was an each before
- use perl instead of javascript to fix the revinfo position on the screen

Most of these changes are a consequence of the different mode of operation
running Foswiki as a single-page-app using Angular.JS