More robust URL parsing.

* Push project_params down into RemoteServer classes.
* Support HTTPS stash URLs.
* Raise a proper error for invalid Github URLs.
Merge pull request #28 from square/url-parsing-os

More robust URL parsing.