WebStyle: req.is_https() fix

* Fixes the implementation of SimulatedModPythonRequest.is_https()
  to use wsgi.url_scheme as per PEP333, rather than using
  wsgiref.util.guess_scheme().
Merge branch 'maint-1.0' into maint-1.1

* maint-1.0:
  WebStyle: req.is_https() fix

Conflicts:
	modules/webstyle/lib/webinterface_handler_wsgi.py
WebSearch: get_all_field_values() typo

* Corrects a typo in the definition of a query in
  get_all_field_values().
Merge branch 'maint-1.1'

* maint-1.1:
  WebSearch: get_all_field_values() typo
  WebStyle: req.is_https() fix

Conflicts:
	modules/websearch/lib/search_engine.py
WebStyle: removal of excess language box call

* Removes unnecessary (unused) call to 'tmpl_language_selection_box'
  in 'tmpl_pageheader'.
Merge branch 'maint-1.0' into maint-1.1

* maint-1.0:
  WebStyle: removal of excess language box call
WebJournal: search select form by name

* When submitting the form via Javascript for searching a journal
  by issue, select the form using its name instead of its index
  in the DOM tree.

* Makes 'search' form names unique (searchbyissue and searchbydate).
WebSearch: respect output format content-type

* When a content-type is set for an output format, use it for
  the response.

* When output format code starts with "x", do not systematically
  override configured content-type for the output format, but
  defaults to 'text/xml' only when no content-type is specified.
Merge branch 'maint-1.0' into maint-1.1

* maint-1.0:
  WebSearch: respect output format content-type

Conflicts:
	modules/bibformat/lib/bibformat.py
WebComment: cleaner handling of non-reply comments

* Insert value '0' instead of '-1' in column in_reply_to_id_cmtRECORDCOMMENT
  when user is not replying to an existing comment (column is type unsigned)

* Cherry-picked from 4c84d36c127c764ff78621ce44a0c992f8342d2f.
Merge branch 'maint-1.0' into maint-1.1

* maint-1.0:
  WebComment: cleaner handling of non-reply comments

Conflicts:
	modules/webcomment/lib/webcomment.py
BibFormat: "ln" parameter in bfe_record_url output

* Adds "with_ln" parameter to switch on/off addition of "ln"
  argument to returned URL.
WebJournal: CERN-specific translation
WebAccess: guest unit tests for firerole

* Tests evaluation of firerole rules using 'guest' field.
Merge branch 'maint-1.1'

* maint-1.1:
  WebAccess: guest unit tests for firerole
  WebJournal: CERN-specific translation
  BibFormat: "ln" parameter in bfe_record_url output
  WebComment: cleaner handling of non-reply comments
  WebSearch: respect output format content-type
  WebJournal: search select form by name
  WebStyle: removal of excess language box call
OAIRepository: print_record() fixes

* Fixes the print_record() API to always return at least an empty
  string in case of errors, since its result is usually sent
  to req.write().  (closes #1200)
OAIRepository: Edit OAI Set page bug fix

* Fixes a typo in the SQL query in oai_repository_admin.modify_oai_set()
  that was rendering the "Edit OAI Set" admin page broken.
BatchUploader: error reporting improvements

* Improves error reporting about not authorised user-agent.
Merge branch 'maint-1.0' into maint-1.1

* maint-1.0:
  BatchUploader: error reporting improvements

Conflicts:
	modules/bibupload/lib/batchuploader_engine.py
OAIRepository: fix for OAI set editing

* Adds missing argument to a function call that was causing troubles
  with editing OAI sets via OAI Repository Admin.