Check for module cyclic dependencies. Throw proper V8 exceptions when the require method is not successful.