Added visibility of downstream failure causes

Identified problems originated from downstream
project are shown in the build view of
the triggering build.

Change-Id: Ib59a0d23d8caccedf443ce7b48f76ccae5beec2c
Added test

Test fetching display data object for build failure
analysis of downstream objects.

Change-Id: I73a564371f76e1dfe79604682ac6b6a856d55c94
Fixed bug regarding wrong link to indication

Indication link target was pointing at the wrong
log file.

Change-Id: I2ed965a7e5f6f5040ada33374c8066adc652c9d4
Added graphs to project page

Three graphs have been added:
* Pie chart displaying the distribution of failure
causes for a project.
* Bar chart displaying the number of different failure
causes for a project.
* Bar chart displaying failure causes as a function
of build number.

Change-Id: I0d0d4daa77af95d914ea89ed55fd2e73672a149e
Multiple graphs page

Pages for detailed/multiple graphs added,
both for Nodes/Computers, Projects and
CauseManagement itself.

Change-Id: I355c314db873984f16d07c53c8a971c3f15623c3
Added a pair class ObjectCountPair

This class keeps track of the number of copies
of different objects, rather than using Entry<K,V>
for the same field of application.

Change-Id: Ic74f8f241dd1e23445c994600b246c3d86f3831c
Graphs added to detailed pages

- Graphs added to detailed pages
- The number of posts in bar- and pie-charts
limited

Change-Id: Iec46f49c8fab22b822b36f8e489f5a8765528374
Added display of categories

- Bar- and pie-charts can now display 'per category'

Change-Id: I94bc740693b0d1a6abebc94777d6eb965a7e4274
Added first tests for database fetching

Using EmbeddedMongoDB library.

Change-Id: I90d8ad63fa11fa2e60229b7744aff8cddbfd09f3
Added uncategorized value to category bar chart

Change-Id: I4dc332e426693cb35328ceed925a03e880269528
Updates to detailed graphs page(s)

- This/all-Master switch on CauseManagement-page
- 'Hide' as default on Aborted Builds
- Style/Design changes

Change-Id: Ic8eed682fd65bb6094696e198727d4facecaf414
Several changes for graphs

- Some values moved out to constants
- Time series charts for global- and node-statistics
- Some cleanup
- Node-page same garphs as global

Change-Id: I1aa845ab34c40be631142f8ea9a4fe4570da8631
Setting window bounds for time graphs

The monthly graph will always display the latest
month even though no data is availabe. Same goes for the
daily graph.

Change-Id: I627c877b0200e96cd215f19a25a1e93f1d9c89b5
Added more tests for MongoDB

The tests mostly cover the filtering functionality.

Change-Id: Icb4486472cc38fdf9bb9369b49a106d991f90bf6
Changed Jenkins-version

The version has been increased to 1.480
to solve a dependency problem with
Google Guava, which has been added.
A minor update to a testcase had to be done too.

Change-Id: I87bfc2c64b8d51b654980413f2537f69457714bc
Added logging for MongoKnowledgeBase

Change-Id: Iaf08414e21212939936b4b3a8836539e45848155
Cache added

A cache has been added for the graphs:
- Uses Google Guava cache
- Caches all graphs for 30 min
- A completed build invalidates the
build-number-graph for that project

Change-Id: I4ef3164b4e8b8c07c646c4a27c2284e2c2ed3d25
Decrease maximum bar width

Change-Id: I1372603734ff289748c9c321c4a2cd8c10b4f849
Added graph for unknown failure causes over time

Change-Id: I36444747790f26f613dd1a721294d74a349bdedf
Added null-checks for fetched data

Change-Id: I088e9a54da1710d395498225a303e44e468c02b5