added commands to refresh the cache directory into the upgrade script
added commands to refresh the cache directory into the upgrade script

- in the production mode, cakephp doesn't refresh the cache directory,
so we'll need to do it manually whenever we upgrade the database.
- I've created a function in the upgrade_base for this purpose, which is called
every time an upgrade script is run.

eecian/Team08-iPeer,eecian/Team08-iPeer,eecian/Team08-iPeer,eecian/Team08-iPeer