Fixed selector delimites

First commit fix a bug with missing commas.

Example

    button,.button,input[type=button]{}

Generated before

    button.buttoninput[type=button]{}

The last two commits is an attempt to lock down the code so that there won't be any missing/unimplemented ToString(bool,int), hope you like it.