correctly split items before sending query

actually fixes #608; however, things with both english and japanese
spaces will still have weird split results
tags clickable in popup
tags in popup clickable
search bar on side pages fixed
Merge branch 'stable' of github.com:Japan-Digital-Archives/Japan-Digital-Archive into newfrontpage
tag popup multiword issue fixed