Circular dependencies test

Tests if modules can depend on each other.
Fix circular dependency issue

Add _resolving flag which is only set while module registered function
is executed.
We still check module.exports to prevent module from being reparsed at a
later point.
Merge pull request #28 from code42day/circular

Fix circular dependency issue