update to use shipments.last instead of shipment for access to shipment, remove attr_accessible for upgrade to rails4, update routes format, update specs for the changes, update spree version in Gemfile, update to use permitted_params for stock_location_controller#update