enable open/close vend register
move register open/close methods into vend::register class
Merge pull request #2 from alex-zige/feature-open-close-register

Enable open & close of registers
merge upstream