(bug 4087) Refactor backend auth code.
(Bug 4670) Add ?skin=, the same as ?usescheme=

Same behavior, just shorter and easier to remember.

Also updates the one link where we actually use ?usescheme= on-site
Merge branch 'release-1.11.0' into develop

* release-1.11.0:
  (Bug 647) Minor CSS display tweaks based on feetback so far
  (bug 4669) Fix FAQ category titles not showing up
Merge branch 'release-1.11.0' into develop

* release-1.11.0:
  (Bug 647) Fix comment hiearchy styling
  (Bug 4671) Move divider outside of span for expand-all
  (Bug 647) Make entry subjects a bit larger.
  Revert "Merge pull request #23 from dunvi/bug-4294"
  (Bug 647) Un-link comment subjects; allow Lynx/style=light to access the underlying structural CSS files in siteviews
  (Bug 4626) Change the option to "format" => "text"
  (Bug 4626) Add a new option "plain" for formatted_subject
Merge branch 'release-1.11.0' into develop

* release-1.11.0:
  (Bug 647) Add the class to the plain form of the subject
Merge pull request #93 from afuna/skin-for-usescheme-bug4670

(Bug 4670) Add ?skin=, the same as ?usescheme=
Put generation of URL for a tag into a seperate function, and return
the ?tag= form for tags with + in as well as those with slashes.
Merge branch 'release-1.11.0' into develop

* release-1.11.0:
  (Bug 4017) Don't use the raw property for tags
  (Bug 4017) Don't adjust for minsec when editing
  (Bug 4017) Change the page title when editing the entry
  (Bug 4017) Populate beta community variable in all views
  (Bug 3710) Added better icon styling to PPaper Me, particularly when a post has no icon.
(Bug 2524) Only remember value if user did the selecting

Handles this case:

- Set your journal to a minsecurity of "Private"
- Go to make a new post
- Pick any community that has a lesser minsecurity (anyone, members)
- Security of post will remain "Private" instead of that comm's
  minsecurity

This was better than the alternative of, if you'd selected "Private"
manually, it being switched to a lesser security, but honestly neither
was ideal.

So now instead of looking at the current value before adjusting things
for minsecurity, it becomes smarter and records a value when the user
themself has selected an option, and uses *that* value (only) if it
exists.
(Bug 4653) Remove hardcoded list of .min files

We have a build script for that now (bin/build-static.sh)
(Bug 4646) Move controller() from _init to new_handler

We now need to pass in remote as an argument.
Merge branch 'release-1.11.0' into develop

* release-1.11.0:
  (Bug 4675) Link to https versions if we're on https
Merge branch 'release-1.11.0' into develop

* release-1.11.0:
  (Bug 4667) Make the user confirm before deleting.
  Bug 4668 - Librarian's Dream: unclosed div in profile module when opts are hidden http://bugs.dwscoalition.org/show_bug.cgi?id=4668 Only display DIV if we have something to display in it (userpic or name) Display website separately, as intended Add space between name and border/userpic
Got rid of LJFUNC stuff, put a more readable comment in instead.
Merged two regexps into one
Merge pull request #95 from swaldman3/844_working_tag_links

Bug 844 : Use ?tag= URL form for tags with + in them.
Page title prefixed with "Edit" when editing a comment. (So "Edit Reply"
by default, although the Reply part is a configurable property)
Created a couple of new properties for the page title for new comments
and editing comments.

This is neater than prefixing "Edit ", because if the Reply text had
more than one word there would be odd capitalisation. For neatness /
consistency, I have split the new comment title into a seperate property
from the "Reply" interaction link text.
Tidy up diff
(Bug 4385) Don't force a width for small icons with no meta text