Since this code bypasses security, add an extra check so that we don't use it if we're not in TEST_MODE.
Also, for grins make sure that any time we change Kohana_Upload we at least take a look at this code
to make sure that we keep it up to date.
Create the var/cache dir as well.