[RFR] Add project configuration to API model

- [x] Add configuration item
- [x] Add previous analyses hashes
And perhaps should we also rename it to `ignored_branches` in the same time? (same for `exclude_patterns` => `excluded_patterns`?)