Save the query type in the position object so that it can determine the type when reloading the page.
Display chapter headings correctly on the non-JS version.
Handle first_verse_normal on the server.
Removed some old comments.
Detect the queried language in the non-JS version.
Display a drop down box of available languages.
Rewrite the URL even if there is just a language present.
Replace the current state instead of ignoring it.
Change the URL when switching languages or reloading.

BUG: Now it does not remember the original query.
Don't scroll down if the last query was a search.
Keep track of the original query (as raw_query).

Fixes the regression from the last commit.