Fixed project percentages

Calculate project percentages for paid and invoiced amounts. If zero,
return zero instead of NaN. Added percentages to project#index.
Improved project percentages