[payment-factory] use composition instead of inheritance, inject core payment factory.
[payment-factory] add createConfig method.
php cs fixes
fix tests
add tests
Merge pull request #280 from formapro-forks/core-payment-factory

[payment-factory] use composition instead of inheritance.