Modified encoding to use BEST_SPEED, instead of BEST_COMPRESSION, when
generating debug SWF's. During active development, Flex Builder
creates debug SWF's, so this should speed up incremental compilation
tests Passed: checkintests
Needs QA: YES
Needs DOC: NO
API Change: NO
Code-level description of changes:
Modified writeTo() to pass isDebug() as the second arg into
Added compress(boolean) and writeTo(OutputStream, boolean), so
that BEST_SPEED can be used when the arg is true. The existing
API's compress() and writeTo(OutputStream) default to
BEST_COMPRESSION to maintain the previous behavior.
Also added deflate() and moved common code from compress() and
writeTo() into this new method.