Adding a Get Statistics button to the resource page

I received a request to create a way to quickly get to statistics for the currently displayed resource title.  This is what I came up with.  

I added a field to the ResourceType table to indicate whether or not the specified Resource Type should display a Get Statistics button. The Get Statistics button submits a title search to the reports module for the current resource's title. The button appears in the helpful links section of the page.

The rest of the updates are to let the Admin user toggle the statistics field. I also check that the Usage Statistics module is installed before either the ResourceType admin toggle or the Get Statistics button are displayed.