Fixed lots of stuff and added homework!

curlget didn’t work since some time ago because it seemed to not read
the cookie. Turned out to be the COOKIEJAR/COOKIEFILE-difference. Also
cleaned up stuff and added homework querying STUB.