Added information how types starting with underscore are handled
Mappings reader does not handle error when parsing types
Compiler does not silently fail, propagates error
Refactored tasks, extracted duplicate code into function

* common code extracted, function accepts block with es client and compiled template
Merge pull request #21 from Asquera/refactor-and-fix-template-compilation

Refactoring of template compilation