updates to be compatible with WooCommerce 2.1.x

git-svn-id: https://plugins.svn.wordpress.org/woocommerce-direct-checkout/trunk@880980 b8457f37-d9ea-0310-8a92-e5e31aec5664