Merge pull request #390 from SBoudrias/explode-env

Refactoring Env
Simplify env#namespace and add missing tests
Refactor and add unit test to env.lookup