[WIP] Add project configuration to API model

- [x] Add configuration item
- [ ] Add previous analyses hashes
making the listener stateful is a bad idea IMO:

- it can create weird issues if the state is not reset properly
- it can leak memory (the rules are kept in there after the end of the deserialization currently)