Setup new status attribute for product to determine if its a draft or published record, using the new enum functionality from Rails 4.1. Imposed new rules to only allow public access to products which have been published. Only allow product validations if the record is published. Removed the need for duplicate partials for the product administration form. Added new rules to the product index filter for draft, published and featured records.  TRAD-12 #time 2h Initial groundwork
Continued work on the new product administration. Draft and publish buttons are now working, with validation triggering only on published products. Started work on new attachment administration for products. TRAD-12 #time 3h Finished draft/publish buttons
Finished dev work on the attachment and sku modal for product administration. Updated soca assets in order to utilise the loading animation for modals and refactored the modal trigger into the soca theme for more DRY code. TRAD-12 #time 3h Dev work done, now for tests
Fixed several bugs and cleaned up the product form. TRAD-12 #time Fixing bugs and cleaning up UI
Fixing regression bug in test suite from new product functionality. TRAD-12 #time Fixing test suite
Trying to fix test suite. TRAD-12
Cleaned, fixed and updated the helper specs in the test suite. TRAD-12 #time 40m Some spec work
Continued work on fixing the test suite for the new product draft/publish state functionality. TRAD-12 #time 2h Fixing product specs
Fixing test suite regression bugs. TRAD-12
Merge branch 'products'

Conflicts:
	db/schema.rb