Feature: Projects and plans count for accounts 

Description 

Planners name the projects of an account, such as the YouTrack project SWD of a connection or a project of adsum's own projects. Plans on such a project and on its issues count for the account. A project belongs to one account at most. A plan may also name its account itself, which takes precedence over the projects of the accounts; plans and the planning grid return the account named on a plan.

Impact 

New operations addPlanningAccountRule and removePlanningAccountRule; plans accept accountId. The table planning_account_rule and the column resource_plan.account_id are added by a migration.