Fixed issue#6

 - Added check if a build is either SUCCESS or UNSTABLE before selecting it as reference for the next test split
 - Now logging the build number which is used as reference
 - Increased old build search limit to 20 since there may be some skipped builds now
Merge pull request #8 from xorrizon/upstream_issue#6

Fixed issue#6