fixes for CRM-14180, also notice fixes

----------------------------------------
* CRM-14180: Declined Credit card redirects user to wrong page.
  http://issues.civicrm.org/jira/browse/CRM-14180
Merge pull request #2667 from kurund/CRM-14180

fixes for CRM-14180, also notice fixes