Improve handling of invalid URLs.  Previously, saving an invalid URL would cause a 500 Internal Server Error, because we assumed we could parse it.  Now we don't assume that the input is valid.  Also adds inline validation to the Configure Jenkins UI.
Merge pull request #13 from jenkinsci/url-handling-improvements

Improve handling of invalid URLs.  Previously, saving an invalid URL wou...