Fixes for mongoose, marked, and mongodb.
Fixes for mongoose, marked, and mongodb.

rwaldron/colony-compiler,tessel/colony-compiler,rwaldron/colony-compiler,rwaldron/colony-compiler,rwaldron/colony-compiler,tessel/colony-compiler