Fix infinte loop resulting from requiring a tree that includes the requiring file
Merge pull request #10 from NickClark/require-tree

Require tree can result in infinite loop