rename exising job preserving history

Instead of creating new and deleting old job preserve current.
Rename using using Jenkins remote api doRename