Introduce basic url_cache operations.
Pick out main function.
Rename generalized cache to the html_cache.

This allow to distinguish border between template processor cache and
url downloader cache.
Skip already downloaded libraries.
Save downloaded libraries hashes to url_cache.
Return same value for cached and downloaded urls.