Improved copy/paste compatibility on promocodes.
Added trim to promocode matching.
Added more specific promocode errors.
Removed unnecessary trims.
Added trim sanititation of promo code discount rules.
Removed unnecessary promocode matched checks.
Implemented a validcode function.
Merge branch 'patch20140926' of https://github.com/msigley/shopp into msigley-patch20140926
Merge branch 'msigley-patch20140926'