[641] Serve resource cache items via a controller action

To be able to add a header and set the base meta field this commit adds a controller action to the data controller for inserting them into the HTML file at runtime.
[#651] Paster commands for exporting/importing package data between CKAN and Google Refine.
[#651] Refactor paster command. Handles general purpose dump & import from DB to Google Refine.
[#651] No more dry-runs. Disable the syncronous_search plugin before execution to make this go faster.
[#651] CSV dump handles unicode. Fix bug which creates theme-secondary={}
[#651] Export publisher and tags for easier Refine-ment
[642] Inventory upload functionality

Updated import to make sure columns align
Updated to validate input on when an existing dataset isn't found
Only works with inventory items, does not list full datasets
Changes to separate template for download/upload and read-only download.
Changes the edit page to show two separate tools.  The download tool is now a
read-only view of the current datasets and inventory items on DGUK.
The upload tool now provides a template that users should download (and a link to the guidance doc - not yet there) and then re-upload when modified.

- Text changes and modified upload results.

- Inventory items are not shown in search, they're explicitly excluded

- Changes the import to use the new 4 fields (title, description, owner and publish_date
- Changes URL to point to the PHP script that will generate the template

- Pre-auth check on package_show to make sure it is not an inventory item

- Make sure package_search only checks inventory when called for_view
[642] Merge from master
[605] Be more defensive when building the tree
[noticket] Add schema for use with Solr 4.x
[441] Add openness scores as cached reports
[557] Send ODS files to datapreview
[642] Add a release notes field
Merge from 642-inventory
[642] Add inventory to new schema
[642] Remove unused schema items
[642] Updated the styles
[642] Pull latest_datasets from search rather than package revisions
[642] Updates api
[642] Updated sort term in api