Fix ProjectAdminPermissions
Refactor internal object references.

Now using project level atomic sequences backed by postgresql
for all objects instead of using independent sequence for each
entity (user story, issue, task...)