models.py:
- just format changes for PEP8 styles
Refactored the applying a panel's parameters to a sample, was in select_sample view in views.py, now in new utils.py

utils.py:
- new file for common utilities between the web views and the API views, avoids putting complex logic in the models
- currently only one method here: apply_panel_to_sample(panel, sample)

views.py:
- import the new method from utils.py, greatly simplifying the select_panel view

api_views.py:
- import the new method from utils.py to implement associating a panel with a new Sample
- override post() in SampleList so we can call apply_panel_to_sample and refresh the newly created sample serialized data with the parameters