add debug mode
add debug mode
check if Code property exists in response
Merge branch 'feature/debug-mode' into fix/error-management

* feature/debug-mode:
  check if Code property exists in response
  add debug mode

Conflicts:
	MangoPaySDK/tools/apiBase.inc
fix case of SecureModeRedirectUrl => SecureModeRedirectURL