Jenkins Plugin

- a few refactors & fixes to base adapter object (singletons - I don't understand them in JS).
- Jenkins plugin is more-or-less complete!
- tests!
(I wish though)