Add actions for attribute create/update/delete

As committed on master branch via:
- https://github.com/woothemes/woocommerce/pull/3298