[WIP] Add project configuration to API model

- [x] Add configuration item
- [ ] Add previous analyses hashes
php 5.3 compat issue