parametrized smtp send emails
fixed some format topics on payment lib
delete customer if createcard fails
moved some functions to server lib
changed some test api keys
checked mime type in uploading csv
checked completed params in samples ok/ko edition