Added support for optional parmameters in query

added the ability to accept optional parameters to be passed to the arcgis endpoint.  This allows better support for query operations and deeper support for MapServices