Update user agent

For calls to the check.php URL (for checking if a QS update is available) we were never setting the User agent.
I've changed this now, but we still have to deal with previous QS versions. See the dev discussions for what I've done