DDL fixes + Cache updates

* Updated the cache to store extensions as well.
* Fixed direct downloads on hidden posts.
* Cut down the cache limit options to every 1000.
* Added a temporary special case for test version users when converting settings.