CMS-2408 Create a common build for admin modules. Moved api/js to common/js.