Implements upload and import of coupon codes

Thats not PHP, please take care about coding standards.