[RFR] Add project configuration to API model

- [x] Add configuration item
- [x] Add previous analyses hashes
@stof you are right. I miss that on my code review on insight api. 
@jpetitcolas could you fix that on insight.sensiolabs.com ?