Add support for renaming and deleting projects

- Add a rename dialog to the project page
- Add a delete action to the project page
- Add optimizations to the number of query counts made