Refactor action menu on top of project, person and tag pages

* Use proper erector code instead of hard-coded html, making it cleaner
	and more malleable
Move action menu to the top right for project, person and tag pages