bookmark reindexing, search rank, search logic

reindexing now works in the background on change of bookmarks, and
additions. search rank is fixed to make frequent results float to the
top. spaces are treated like joins now