Changes to Cache.

* Moved cache from cache/index.js to cache.js.
* Made the Cache class take the path to the cache folder as a parameter instead of having it a constant.
* Improved error messages.
Added file_cache_dir to config file.
Some cleanup of dotaApi.js.
Made index.js create Cache and supply it to the DotaApi.