Sample header
Added json api output requirement
Fixed CREATE-POST, EDIT-POST
Fixed CREATE-FILE, added RANDOM-HEADER
Fixes for all cache-related funcs
Fixed thread/create, post/create, added /header
Fixed templates, added missing thread-min template.
Ignored cache and files