Added API runAnalysis

API: runAnalysis
ARGUEMENTS: branch, buildername, revision, delta
RETURN: revList, buildList
    revList : List of revisions that we need to retrigger the job.
    buildList: List of revisions that we need to build before we
        trigger the job.