Add support for the comma operator

This adds support for the comma operator, but introduces some ambiguities. Further work is required before it can be merged to master.