Added USE_S3 constant and switching behavior in post_file()
post_file() now returns a URL and it actually gets used in the prints table

Conflicts:

	site/doc/create.mysql
	site/lib/data.php
	site/www/compose.php
Added a script to handle local file uploads but it doesn't do anything yet

Conflicts:

	site/templates/upload.html.tpl
Adding some local post details to provide for some minimal additional security
Doing a super basic expiration and signature check on posted files

Conflicts:

	site/lib/data.php
Added dirname to locally posted files
Seemingly handing both S3 and locally uploaded scans off to the message queue
Actually redirecting to the redirect URL upon file upload
Added ws-decode to the bag of tricks, since this was never quite made explicit and I'm sorry
Mostly-working local file upload from decoder, now to do some cleanup
Moved scan file append function to its final name and home
Excised AWS S3 dependency from decoder completely
Made possible to post files with subdirectories, unsure how that will work with S3 yet but it's great with local file upload
...
No more need for AWS
Got scan file append paths working with both S3 and local files
Added base_url column to scans table and properly populating it
Added base_url to various client-side outputs as well
bin no longer has a Makefile kicking around
Added required empty dirname args to *_post_details() functions