fix two pfilereaper logic bugs
move all OPTIONS requests handling into nginx
add single-file upload and download

- work on #13 & #14