Streamline url-parsing logic.
Clarify parsing issues and errors
Use http_parser_parse_url to parse urls
Unescape url-encoded usernames and passwords
Compile HTTP parser on win32 (for url parsing)
Fix ssh.c compile
Incorporate feedback
Remove unnecessary check
Make url decoding more bulletproof
Correctly quote config values while saving

If the value contains a command (; or #) char or starts or ends with space it needs to be quoted.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Add a testcase for values which needs quotes

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Add another testcase to make sure double quotes are correctly escaped

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Rename method

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Merge pull request #1936 from libgit2/better-url-parsing

Streamline url-parsing logic.
Merge pull request #1950 from csware/quote-config-values

Correctly quote config values while saving
config_file: style
Fix warning in tests-clar/merge/workdir/trivial.c
Merge pull request #1955 from linquize/trivial.c-warning

Fix warning in tests-clar/merge/workdir/trivial.c