Improve the re-usability of the addQueryArg() function

- Support SSL protocol
- Make the serverUrl code re-usable
Fix issues with dirname() on Windows
Whitespace
Code style
Add support for metainfo about plugin dependencies

@see http://wordpress.org/plugins/plugin-dependencies/
@see https://github.com/x-team/wp-plugin-dependencies
Small fixes
Missed one else
Slight simplification
Merge branch 'master' of github.com:YahnisElsts/wp-update-server into Reusable-server-url

Conflicts:
	includes/Wpup/UpdateServer.php
Darn.. let's get the tags from the correct file
Same for package
Whitespace
Capitalisation
Merge branch 'master' of github.com:YahnisElsts/wp-update-server into Reusable-server-url
Minor changes / code style, method naming
Merge pull request #14 from jrfnl/Reusable-server-url

Refactor server URL detection as a separate static method
Merge pull request #16 from jrfnl/Support-plugin-dependencies-metadata

Add support for metainfo about plugin dependencies