Total price function

Created a function that calculates the total price for a project.
This is used in the create invoice view
Merge pull request #110 from Useful-Innovation/create-invoice

Total price function