Single quote replacement

It adds two new settings to enable single quotes replacement for values.
In postgres the single quotes must be escaped with double single quote `''` (see http://stackoverflow.com/questions/12316953/insert-varchar-with-single-quotes-in-postgresql)