Added criteo consent solution

Added a cookie acceptance solution comperable with:
http://demo.criteo.com/consent_solution/1/

And applied best practices to the code