Limit recursion depth to prevent infinite recursion in case of circular ...

@jzsfkzm does this look good to you? It fixes:

"Warning: Maximum call stack size exceeded"

When running soysauce:analyze-source.

The only potential issue I see is whether this is masking some real problem related to circular dependencies.  So far I don't see an obvious issue there though, and RequireJS should handle the circular dependency case intelligently.