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.
Merge pull request #8 from tomsmeding/master

Fixed lots of stuff and added homework!