Redesigned directory pages (WIP)

This is an initial conversion of the directory pages from the old style
to the new style which is based on Twitter Bootstrap.

Still some remaining work to be done. You can see a screenshot here:

http://i.imgur.com/MPEngGx.png
make tests pass with redesigned directory pages
Updates webui directory forms