Port project_department to v8

Made the minimal changeset to make the module installable + flake8 fixing.
Also moved the Department field placement on Project an Task views.
Should be merged after https://github.com/OCA/department/pull/2.
Seems logical to put in this section.