Fix for inability to change permalinks for categories and products

This fixes issue 2245:
https://github.com/ingenesis/shopp/issues/2245
Merge pull request #2246 from ben72/master

Fixed product and category slug editing