changes regarding product, variant and images

changes regarding the products, variants and images with independent
methods in product controller and Ajax handler in product.js