[IMP] refactor account_analytic_required with constraints for robustness
[ADD] account_analytic_plan_required

Extension to account_analytic_required to support analytic distributions
[IMP] account_analytic_required: better mechanism to extend policies
[IMP] life would be boring without flake8
[IMP] account_analytic_required: add an extension point to obtain analytic policy
[IMP] analytic policy must be required otherwise the checks will break

It has a default value, so this is fine.
[IMP] account_analytic_required: make test use [ids] in write

For compatibility with account_constraints.
[FIX] account_analytic_required: add missing field in constraint
[FIX] account_analytic_plan_required: do not override constraints

Constraints are added by inherited classes, they do
not replace parent class constraints.
[FIX] account_analytic_required: constraint also depends on debit and credit
[FIX] account_analytic_plan_required: constraint also depends on debit and credit
Merge pull request #16 from acsone/7.0-analytic_plan_required-sbi

Add module account_analytic_plan_required