Bug 848121 - video search, front end stuff

Front-end bits for adding search to the gallery template.