Skip non-existing builds when collection build numbers.

This should collect the build numbers to present to the user (up to the job specific number of previous builds), but skipping non-existing builds (different from failed builds!). This issue became obvious with the latest server crash.
Merge pull request #263 from skaldarnar/missing-job-numbers

Skip non-existing builds when collecting build numbers.