fixes redmine #1809 by linking button to pfts instead of citations
fixes redmine #1809 by linking button to pfts instead of citations; tested on pecandev
fixed spacing in prior fig titles; re 7da3838be8
Moved Ensembles menu item from Data to Runs menu.
Removed Formats menu item from Data menu.
Fix broken links
Adding migration to limit traits_and_yields_view to checked (checked > 0) data.
Merge branch 'master' of https://github.com/PecanProject/bety
Added code and migration to restrict download access to search results.
Prettified access level dropdowns.
Tweaked units in yield and cost legends.
Replaced all of the app/views/*/index.js.erb templates (which are
nearly all the same) with the layout
app/views/layous/application.js.erb.
Get the 'record per page' select control to work by passing its value to the pagination method.
Factored the search forms out of the index_table partials into the shared partial 'search_form'.
Fixed the sort_column method so that it works correctly with the search controller and the species controller.
In index: Set @iteration and define respond_to for js format to get
Ajax searches to work.  Set @users to actually use the search
parameter.

Defined as helper methods "sort_column" and "sort_direction", which
the Ajax template needs.
Make User extend SimpleSearch and add scopes and constants needed for the search machinery.
Factored the search forms out of more of the index_table partials into the shared partial 'search_form'.
For more of the controllers: Get the 'record per page' select control to work by passing its value to the pagination method.
Improved styling on sites_from_search and yields_from_sites map pages
following the model of the traits_from_sites page.

Improved code layout of all 3 templates.

Changed default search radius on sites_from_search page to 200mi.
Replaced hard-coded links with link_to calls.