Swapped conditions to get all the builds in timeline graph.

Since the builds are sorted from most to least recent, the limit
method discarded the builds not in the same day as the last one.
Added test for byTimestamp method in RunList.
Fixed indentation.
Merge branch 'master_g' of github.com:ialbors/jenkins
[FIXED JENKINS-21159] Merged #663.
[JENKINS-21159] Noting #663 merge.