notices fixes
fixed smarty error
whitespace fixes
fixes for --filter=testContributeOfflineforSoftcreditwithApi WebTest_Contribute_AddPricesetTest
Merge pull request #1423 from kurund/webtest-fixes

Webtest fixes