Code changes to payment module

Have successfully integrated Prestashop with PayU gateway. I decided to contribute my code base.
This first batch of committed code changes are meant to DRY up the code base and add some features such as currency installation.