rewrite: use type kwarg on request.form multidict and test public and unlisted pastes made via old api
rewrite: Add create_paste_url function and use it for the legacy api