Fixed a number of bugs related to the etag cache. Moved some code around to produce smaller browser-versions. Bumped version number to 0.3.6.