4chan compatible API.

This adds support for 4chan (almost) compatible API. Structure of these jsons and their url path is the same as 4chan stuff. Json files are generated after generation of index or thread html files.

It might be good for smaller boards because they can benefit from browser plugins and other tools developed for mother of all chans.