workflows: refactor JavaScript files
- Completely revamps the JavaScript files used in the Holding Pen to more closely follow the module pattern.
- Splits the main JavaScript file into smaller pieces.
- Adds get() API to BibWorkflowObject.
Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>