require() whole trees in node.js with smart filtering for models/controllers/etc