Fixed 'receipt_email' configuration

Was trying to access an undeclared static.
Changed to configuration API.
Removed invalid populateTemplate() call from sendStatusChange()

Needs to contain an array, not an object.
And the relevant items ("Order") are passed on below anyway.