CRM-15037 Added assertion for standalone contribution and membership web...

Checked assertion for standalone membership and contribution when "Send Receipt and confirmation" checkbox is checked.