fs: Move to sublevel to be support resource-thinking

POST /tad
GET /tad/24j5hbf

Make sure file was written + fix protocol in redir URI.

Signed-off-by: Carl Helmertz <helmertz@gmail.com>
readme: Won't add auth

Signed-off-by: Carl Helmertz <helmertz@gmail.com>
helper/permalink: Extract URI mumbo-jumbo to function

Since we're relying on the webserver's ability to follow dirs to
index.php, we need to ask for /tad/, not /tad, which my default Apache
config did not like.

161 lines.. things are getting out of hand.

Signed-off-by: Carl Helmertz <helmertz@gmail.com>
examples: Less stupid demo of STDIN

Signed-off-by: Carl Helmertz <helmertz@gmail.com>