improve layer constructor string handling
improve layer constructor string handling

use strdup to avoid the REPLACE_STRING macro.

pagameba/node-mapserver,pagameba/node-mapserver,pagameba/node-mapserver,pagameba/node-mapserver