Started working on a new form/UI for creating new traces.
Added the "TraceInputForm", which will contain separate (but similar) UIs for either uploading a new jar/war/zip for analysis or a .pulse file for import. The form lives on the landing page, and will eventually replace the "slide-out form" that came from the sidebar.
More work on the file input workflow (tabbed forms, updated backend).
There are now two input forms: "New Trace" and "Import Trace". They have similar UIs, and can be accessed by tabs on the page. Each form sends data to its own URL, handled by the TraceFileUploadHandler.
Added a missing license header
More organization for the trace input form.
I rearranged the state management of the form to use Bacon.js more centrally, and added a 'disabled' state to the OK button when the form is invalid.
Also a couple of assorted small fixes like moving common.js to the common folder, and adding the missing 'header-push' div to the traces page.
Removed the old upload form from the TraceSwitcher.
Also added a separate button for "Import trace", next to the "New Trace" button.
Spiced up the upload file feedback in the trace input form.
Now when you pick a file, the browse/drag widgetry is hidden and the filename display is more emphasized. You can remove the file by clicking the 'x' button (or by canceling the form)
Merge pull request #5 from secdec/feature/fileupload-workflow

Feature/fileupload workflow