Moved url.js in src directory
Fixed #2. Fixed parseQuery method to return correct value

When no search (empty string), the method was returning an object like this: {"": undefined} that was wrong. In this commit, we handle the empty serach and return an empty object.
Updated comments and minor syntax change
Encode value when stringifying the query
The function returns undefined
Generated docs