allow moving threads with non-image uploads
Huge bug with deleting boards: $tmp_board unused; sometimes it would delete the wrong board's directory
Add support for 4chan-compatible json API.

Conflicts:
	inc/functions.php
Make it possible to disable API, disable it by default

Conflicts:
	inc/functions.php
Custom fields in API, read config.php for info. Non-4chan compatible fields removed.
Country flags in API if they are enabled
Make file/thumb dimensons actually work (thanks sti)
;_;
Only add country to JSON if flag fits country code regex
merge fail
4chan-compatible api: better config.php comments
single quotation marks please
automatically initialize $config['api']
fix background on dark_roach after a bad merge

Conflicts:
	stylesheets/dark_roach.css
Accidentally merged noko50 stuff
dark_roach.css: move images to stylesheets/img
permissions fix
Add cache and gm to pre-installation test. Don't die when we can't write to templates/cache.
Bug: deleting posts doesn't rebuld index
Fix try_smarter with deletePost