Add sanitizing function for mapping file  -- fixes issue 52

This function is called from the main script interface and it will
replace all of the ' or " characters with an escaped version that will
not affect javascript.
    
Test module was updated accordingly.
    
Closes #52