A fix to cacheme.inc so it can cache php files properly.
Add code to top of index so that AJAX scripts can check that the user is still logged in and possibly restart the login timeout.