URL を解析する

URL を解析します。
* 
* IDNA 制作時の副産物。と言っても単なる移植
* 
* URLParser is freely distributable under the terms of an MIT-style license.
*
* The orignal code: https://code.poly9.com/trac/browser/urlparser/urlparser.js
*
* http://poly9.com
* http://www.twinapex.com
* 
* @see http://snipplr.com/view/10139/urlparse--pythonlike-url-parser-and-manipulator/ 
