Update jenkins.py

I found a bug in the build_job function, self[jobname].invoke(params=params) should have "build_params" instead of "params" ,i.e. self[jobname].invoke(build_params=params)

Not sure where else this function is being used through out the api library,but the issue could be in other places.

Hope that helps,
S.A.
Added tests for Job, reformatted Job code
Fixed update_config not passing config to Jenkins
We no longer return 0 for missing builds, now we use an exception
Fixed bug in View.add_view, added unittests for View
Version bump
Version bump
Fix build.get_revision() for GIT repositories

Filter out actions which are None or not of interest and then extract the git revision from the lastBuiltRevision. Works in cases where branch is of something other than origin/HEAD
jenkins_launcher can now install plugins

install_plugin takes in a URL or a list of URLs and restarts jenkins thereby installing the plugins
Begin test cases for testing jenkins API calls related to the SCM

Use JenkinsLauncher.install_plugin to install Jenkins git plugins and verify coverage for Build.get_revision() fix from c80c740
Get only the last build to check for revision

In case of git branch spec '**' Jenkins spawns multiple jobs, we should be testing against only the first build that was spawned
use requests instead of urllib.urlretrieve for plugins