Added LocalCacheStream, TemporaryFileStream and WeakArrayList
Added getExtension and getMimeType to Stream
Various bug fixes and improvements