Available Product properties include id:
Please add an array of product collection ids too, similar to product.collections which is already available in liquid (we'd need only id though, not entire collection info)
This is unlikely to happen any time soon because collections are unrestricted. A single product could be in enough collections to exhaust the memory limit of the VM. We're looking into ways to allow script authors to specify which collections they're interested in.