simplified for now the doctype descriptions as functions are simple

might add them later when final design and flow will not be changed often
added license: MIT
added vendor folder to ignore path
small interface changes and whitespace movement
two partial implementation of caches: memcache and memory
clean-up and bugfix
phpunit setup and first tests