[RFR] Add project configuration to API model

- [x] Add configuration item
- [x] Add previous analyses hashes
array dereferencing is not compatible with PHP 5.3.