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,
Indeed! That was a long strain to split 1 commit into different ones, thanks for your patience.