Support for pause and resume in-session.

s3-upload-stream supports resuming out-of-session, but there's
no facility here yet for that.
actual resuming and permalink management, it is working
move some things into utils, clean up things
merged a couple more modules into utils
Merge pull request #11 from konklone/pausing

In-session pausing and resumption of uploads