added upload form, added dirty rst output in webutil, some small cleanups/fixes