Make url parsing more robust

There are some edge cases resulting from parse_url that weren't being taken care of.

Specifically, when there was no path part, or query part of the passed url, a warning was being output in the body of the response, breaking the JSON that was supposed to be emitted by an ajax response.

The warning was that the array key 'query' or 'path' did not exist when checking `$parsed['query']`

This fixes by defensively checking the result of parse_url to make sure the array key exists first.
Fix bug with how Pantheon is disabling updates
"Initial Commit"
Update to WordPress 4.0.1.
For more information visit https://wordpress.org/news/2014/11/wordpress-4-0-1/
Merge pull request #11 from mboynes/patch-1

Fix bug with how Pantheon is disabling updates
Merge pull request #8 from gmcinnes/master

Make url parsing more robust
Update to WordPress 4.1. More information: https://wordpress.org/news/2014/12/dinah/
Update to WordPress 4.1 - Amended: Adding missing files
Merge pull request #1 from pantheon-systems/master

Upstream updates to 4.1