Media upload form rewrite.

This version no longer requires a hidden form template in the DOM,
which makes the logic for cloning the upload form a bit easier to
understand and avoids an initial clone to put the initial upload
for into the DOM.
Merge branch '2.0' of github.com:s9y/Serendipity into 2.0