[-] Products comparison: baseUri added to ajax url

The baseUri was missing so in multilanguage installations, the requests where pointing to http://www.example-domain.com/fr/index.php?...
I also changed indentation of some code to comply with your coding standards.
Merge pull request #2184 from axometeam/patch-37

[-] FO : Products comparison: baseUri added to ajax url