Customized a lot of stuff from Mariage to create a buildfile for the webapp, built it into the main build process, tested it, and began serious work on the search. The existing search results page is very odd in several ways, which I've outline in an email to EGW and JT; I believe it should be much simpler, and if they agree, I'll make it so in preference to reproducing the current weird setup.