Cleanup of tags and related products.

When deleting a product, cleanup of tags and related products.
Merge pull request #21 from drsdre/Backend-cleanup-patch

Cleanup of tags and related products.