Update app/code/core/Mage/Checkout/controllers/CartController.php (fix issue #27632)

Apply trim() on posted coupon code, to fix http://www.magentocommerce.com/bug-tracking/issue?issue=13546