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.
Here it's convenient to use also context=None to match keyword arguments.