Add Jenkins build scripts.

Note: the PUBLISH_GEM env var won't be set yet, so it's not a problem
that the publish_gem rake task doesn't exist yet.