Fix issue #29.

@pcl @edwardsa
Moved uriParameters directly under the resource node such that it is invoked once per resource and calls a method that gathers all uriParameters from the method objects (first description wins if there are duplicates).