add product id and $product variables to add_to_cart_url filter

just adding some params. not sure they are really needed though since you should be able to access the $product globally.