Innitial implementation of data exports (Quotas to CSV)
Annotated
Added trade_restriction-terms. Removes term, purpose, and source from trade_restrictions table
Added trade_restrictions_purposes table
Added trade_restriction_sources table
Annotated new models
Updated quotas and suspensions forms to accept multiple terms, sources, purposes. Same for list to display things correctly. Added default end date and start date for trade_restrictions
Using rails methods instead of our own
Added missing attributes to trade_restrictions
Import script for quotas. Displaying quotas sorted.
Simple download of quotas with caching
using updated_at instead of created_at
Remove all quota related objects before importing quotas
added url to csv output, only including quotas with public_display set to true
import territories and link with countries
Fixed quotas import (was not filtering for rank correctly) and fixed quotas export (was not fetching the data properly)
Include notes in the export
fixes to quotas import and export
Added suspensions export methods.
Merge branch 'master' into download_quotas