Updated code for WooCommerce 2.1.7

Supports WooCommerce 2.1.7 with WordPress 3.9.
* Fixed the issue to find country code for shipping.
* Fixed 'wrapper is disabled in the server configuration by
allow_url_fopen=0' warning where "allow_url_fopen" disabled in php.ini.
* Fixed the issue to display shipping method title.