Merge pull request #9 from rexxars/master

Added replaceMetadata(), replaced 'num' in queries with' limit'
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.