2013-11-23 **Main change is to have regular form and sort form of author name and book title always available**

This so that we can choose which form to use for display in html templates without it affecting the sort option on author name, and to change the sort on titles to use the title sort.

Because of the use of the sort field to display an author name in the default template and referring to it as a regular name in the html template, it would also cause the default template to show the regular name instead of the sort form, causing sorting to be done on the regular form. To correct this, the default html template  is also adjusted to let it again show the sort form.

The default template also filters out html in localized strings for labels, this would cause the changes in the custom template for the configuration screen to show as text in the default template instead of being rendered. This was also adjusted.

Also changed the sort to use buttons in the custom template instead of a dropdown so that sorting can be done with one click or tap instead of two/three. Each sort item has its own button and button functions as sort order toggle.

Minor change to the filter so it will exclude books without tags when selecting a tag to filter on.
This was already suggested in issue #109.

Added support for subtitle on the various screens. This could close issues #62
Only affects custom template as it needs changes in the html template for it to show.

**TODO:**

-   Link the sort criteria so we can sort on the other fields within the top level sort results.
State of the buttons then also needs to reflect actual sort order of the criteria.
-   add support to allow setting order of priority on the buttons for sort criteria (custom template).

---
Changelog for this modification as follows:

*index.php*

-   changed viewport setting to prevent zooming on iPhone when the search dropdown is opened and a sort or search field has focus. Since iPhones pop up a native select component, there is no point in having the browser zoom in on inputs or select dropdown if it is not going to be used anyways and it prevents the annoying need to zoom out again. Text input might be a different matter if the only one in COPS would not already be big enough to fill the screen width on iPhones.

*book.php*

-   changes to bring back both regular author name and book title as well as sort forms

	-   added books.sort to constant BOOK_COLUMNS
	-   added titlesort field to Book class
	-   changed constructor to post query field to class field
	-   changed getContentArray to also return author sort and title sort
	-   changed getAuthorsName to bring back and array of normal names instead of sort forms
	-   added ```getAuthorsSort``` to bring back the sort form of author(s) name
	-   changed getTags to use 'tagword.none' if no tags found to exclude them in the filters #109
	-   changed getJson to handle the various title/subtitle combinations. #62

*author.php*

-   changes to bring back both regular author name and sort form.

	-   changed constructor to assigned regular name to name and sort form to sort
	-   changed getEntryArray to also return the regular name
	-   changed getAuthorById to also return the regular name
	-   changed getAuthorByBookId to also return the regular name

*utils.js*

- changes for title display and alternative sort UI

	-   changed updatePage to add subtitle to title if present
	-   changed handleLinks to add click handler for the sort buttons

*templates\default\main.html*

-   changed handling of text on configuration screen and restored display of author sort

	-   label tags added to the texts to link them to inputs, got printed as text instead of rendered

*templates\default\bookdetail.html*

-   restore display of author sort