Extracted URI creation logic from fromArray()
Extracted URI creation logic from fromArray()

- Created several new methods:
  - isNonStandardPort(), to simplify a conditional
  - normalizePath(), to remove code duplication
  - createUriString(), for creating a URI string from the various parts
    that make one up
- setPath() and fromArray() now each use createUriString().

martinezdelariva/conduit,phly/conduit