Changed sales_id in sale_id, fixed hook table behaviors
Merge pull request #17 from roadster31/sales_fix

Changed "sales_id" in "sale_id", fixed hook tables namespace and behaviors