add function fileInBoardDirectory()
check writability for board directory after including functions
add a configuration option for tinyIB base URL: TINYIB_BASEPATH

this saves a lot of editing on relative paths.
write html files in right directory
write image files in right directory
redirect to correct index page
redirect to right page on "noko"
remove res/,src/,thumb/ directories
add index.php redirecting to board index or imgboard.php

this way, the board index is generated if it should be missing
Merge branch 'subdir'