Fixed payment/invoice destroy updating project amounts

Forgot to have project/invoice .destroy to update project amounts
(paid/invoiced).
Fixed project.caching