Add database list anchors and optional proxy support

Break up the navigation of our 200+ databases by inserting anchors at
strategic points in the alphabetical list, and offer that navigation at
the break points.

Also implement support for proxying URLs in database lists if the proxy
boolean is true.

Also, for sanity, format the SQL query for the main database list over
multiple lines. There, isn't that easier to read? :)

Signed-off-by: Dan Scott <dscott@laurentian.ca>