port transform_ipynb_uri from flask API

by @westurner
add create handler, so landing page form works