Factor out javascript from trial mason page, add functionality for trial search page.
add rudimentary files for trial search.
minor cosmetic edit.
Merge branch 'master' into topic/trial_search
add REST function to get all years for trials.
Merge branch 'master' into topic/trial_search
implement trial search database query.
Merge branch 'master' into topic/trial_search