added encodePathElement and encodeQueryElement to d1_common.utils as these should be widely used for all encoding operations in the DataONE python code.
added encodePathElement and encodeQueryElement to d1_common.utils as these should be widely used for all encoding operations in the DataONE python code.

DataONEorg/d1_python,DataONEorg/d1_python,DataONEorg/d1_python,DataONEorg/d1_python