Fix : Many jshint and business rules fixes in creditor.js, confirm.js, primary.js ...

In this pull request :

- I fixed the business logic in confirm.js
- I fixe the code in supplier.js, to be abble to register the international supplier
- I added the new transaction type for confirm purchase
- And I fixed some jshint problems.