Support for minified css and html

These changes allow to use library with minified files. New tests added.