Helper Class : Category Tree bug fix 

Removes the int cast of the categories ids list (the cast removes the values after to the comma). Use of array_map and intval instead.
With this fix, the subtotal of selected categories is now correct.
Merge pull request #1976 from ironwo0d/patch-1

[-] CORE : Helper Category Tree categories selected