Fix memory leaks & add new test
Add autotools files
Finish urlparse and work on queryparse