#667 fixed issue with stage history api when there are multiple jobs within stage
Merge pull request #680 from pshivana/rails4_defect_fixes

#667 fixed issue with stage history api when  multiple jobs in a stage