Remove analysis modal and associated html files.
Add analysis url, route, and template
Add script files for the analysis workflow
Add endpoint for getting all samples

This commit also fixes flake8 issues in the resources file and abstracts the sample posthook to make it reusable between resource methods.
Remove more of the old coffeescript files
Add csrf javascript file to include the CSRFToken in request header