Search options

Addresses tickets #501-#503: updated the search options to allow for database selection, number of records to return (removes limitation on pre-set selections which will make this work well with the classic-style version), send database query selection to solr via fq which fixes ranking problems (see #500).  

There is a small javascript problem which I couldn't figure out: how to keep the search options menu closed unless a setting has been changed by the user.  Hopefully this is a trivial jquery thing.