Add PaymentManager and mails on connector

* Add PaymentManager with method to find the good code for mail
* PaymentManager: Prepare work for substitutions
* Add Mails for transactions (processing, success and error)
* Fix an issue with SQLite and WebStore save/update