Allow user to customize literal encoding
Allow user to customize literal encoding

As suggested by @mpriour, it would be nice if the user could determine how
date values are encoded in literal elements.  Extending this beyond date
values, we can provide an `encodeLiteral` method that can be overridden to
provide application specific behavior.

pvalsecc/openlayers,adh1365/openlayers,PetrDlouhy/openlayers,colllin/openlayers,avinet/openlayers,sanak/ol2,PublicStuff/openlayers,PetrDlouhy/openlayers,WayTo/openlayers,PublicStuff/openlayers,altamiracorp/openlayers,owenmead/openlayers,colllin/openlayers,shevawen/openlayers,pgiraud/openlayers,PublicStuff/openlayers,boundlessgeo/openlayers,colllin/openlayers,ahocevar/ol2,sanak/ol2,owenmead/openlayers,altamiracorp/openlayers,ahocevar/ol2,adh1365/openlayers,Gnafu/openlayers,openlayers/ol2,altamiracorp/openlayers,PetrDlouhy/openlayers,owenmead/openlayers,tschaub/openlayers-raster,boundlessgeo/openlayers,kartverket/openlayers,PetrDlouhy/openlayers,pgiraud/openlayers,wet-boew/openlayers,kartverket/openlayers,pvalsecc/openlayers,WayTo/openlayers,Gnafu/openlayers,sbrunner/openlayers,georchestra/openlayers,tschaub/openlayers-raster,openlayers/ol2,elbakai/openlayers,adh1365/openlayers,kartverket/openlayers,boundlessgeo/openlayers,shevawen/openlayers,owenmead/openlayers,dracic/openlayers,dracic/openlayers,v5analytics/openlayers,elbakai/openlayers,sbrunner/openlayers,Gnafu/openlayers,kartverket/openlayers,v5analytics/openlayers,avinet/openlayers,PublicStuff/openlayers,tschaub/openlayers-raster,ahocevar/ol2,pgiraud/openlayers,avinet/openlayers,v5analytics/openlayers,wet-boew/openlayers,wet-boew/openlayers,openlayers/ol2,avinet/openlayers,altamiracorp/openlayers,georchestra/openlayers,sanak/ol2,boundlessgeo/openlayers,georchestra/openlayers,Gnafu/openlayers,pgiraud/openlayers,colllin/openlayers,elbakai/openlayers,wet-boew/openlayers,shevawen/openlayers,dracic/openlayers,WayTo/openlayers,shevawen/openlayers,sanak/ol2,adh1365/openlayers,sbrunner/openlayers,dracic/openlayers,openlayers/ol2,pvalsecc/openlayers,elbakai/openlayers,sbrunner/openlayers,v5analytics/openlayers,WayTo/openlayers,pvalsecc/openlayers