CMS-1896 Implement Java.el variables to access parameters from cms.properties or site-x.properties

added check in urlEncode against NPE
Merge pull request #110 from enonic/CMS-1896

CMS-1896 Implement Java.el variables to access parameters from cms.properties or site-x.properties
CMS-2290 : urlEncode has stopped working. - Test that provokes situation wehre urlEncode fails, has been added and commented out.
CMS-2282: NullPointerException i webdav
Merge pull request #111 from enonic/CMS-2282

CMS-2282: NullPointerException i webdav