added selectbox for indexes on search page
renamed index to searchindex to avoid confusion in template
setting selected in index selectbox