Port of latest iDEAL API (3.3.1) to PHP 5.2 (with improvements)