View fixes, and store counts of related fields on Sample and Subsample

* Follow naming conventions for views
* Faster sample retrieval
* Pagination on the samples page
* Clean up the URLs file
* A bunch of changes to the view functions
* Move templates to the proper directory (tastyapi -> webservices)
* Transition script to store counts of related fields on Sample and Subsample