CS: double quote to single quote convertion + string formatting fixes

According to #193, here's the PR that converts all double quotes into simple quotes and some string handling refacto.

Feedback and contribution is very welcomed.

Thanks,
shouldn't this be part of the other PR?