cosmetic
added appcache manifest (still incomplete, off by default), some
cleanups and refactorings
added apple-touch-icon metatags
added noClear option to the map
added error-handling to ensureIndex
prepare to release 0.3.5, added files to appcache manifest
removed unused config for long-polling
default timeout for resize-handler set to 50ms
trigger resize event after closing a popup
cosmetic