[WIP] Refactor of rake tasks

Working in progress for refactoring of the devutils publish and vendor rake tasks.