[web/test] port unittest_magicsearch to RepoAccess API
request created in setUp makes context manager usage painful, so create
a context manager to do the setup for each test class.
Schema of the data
------------------
First take a look at the data schema_ then try to remember that you are browsing
through a heap of data by applying stylesheets to the results of queries. This
site is not a content management system with items placed in folders. It is an
interface to a database which applies a view to retreived data.
.. _schema: schema