first cut at wiring posts-search

@rjmackay I pushed this as I need more help, not so sure on the routing with query parameters so a review on this first step would be good, lest I'm moving in the wrong direction.