Convert urlInfo object to array.
Replace getPathAlias by getAliasByPath.
Merge pull request #6 from tienvx/alias_from_path

Replace getPathAlias by getAliasByPath.
Merge pull request #5 from tienvx/url_info_array

Convert urlInfo object to array.