Remove the media browser tabs

From #2863.

Does the following:
* Replace the file upload form with our own
* Stick it and the Internet form into the Media Browser as big green buttons
* Prompt the user to replace or rename a duplicate uploaded file.
* Rename, replace or cancel file upload depending on user choice
* Make internet form work with AJAX
* Remove the actual tabs, move the insert button around