[RFR] Add project configuration to API model

- [x] Add configuration item
- [x] Add previous analyses hashes
all lists should be initialized as empty arrays also, to be sure we always have an array even if there is no element set by the serializer for some reason, and not null. ``array|null`` is a crappy getter signature