Changed permalink to slug in accordance with friendly_id gem

Spree switched to using the friendly_id gem, which uses :slug instead of :permalink - these updates adhere to that change.

See https://github.com/spree/spree/issues/4167 for more details