Refactor, remove duplication and add base test.
Imports & pep8.
Add type and path mapper.
Add unicode aware encapsulator.
Update documentation.
Merge pull request #11 from 4teamwork/deif-add-new-blueprints

Add  new blueprints for path mapping and an unicode aware encapsulator.