Search controller and layout improvements.

Improving search, adding JSON support and adding link to this open
source code of the site.