Add reference to prevent Cobra internal exception during testing on Windows
Better workaround for issue #65

This changes the way parsed document instances are cached and also
introduces a heuristic regarding memory usage and garbage collection to
prevent Out-of-Memory exceptions from being thrown when working on large
projects.

The MD_COBRA_BIG_PROJECTS environment variable is no longer used and can
be removed.