Caching and Persisting mlXML Documents for Regular Workflows

For regular workflows, documents are persisted to the database instead of the filesystem.

This applies when the Cache Intermediate MLXML Documents flag is set to true.

Caching of mlXML documents is done using Fast Infoset provided by Sun - this is a binary representation for xml and an efficient alternative to it. The major advantage is the size, since the size of Fast infoset binary xml documents are smaller than standard xml documents. Secondly, serialization is faster with Fast Infoset. While other compression tools may reduce size, both size and serialization is achieved with Fast Infoset.