[api] Support embargo of projects (#316776)

* In first place intended for maintenance incidents, but it works with any project.
  Setting attribute OBS:EmbargoDate in the project still allows to create requests
  using it as source, but blocks accepting them.

* a little bit of attribute type handling refactoring