CMS-2092 Create Mixin.ts and MixinJson.ts

Added Mixin.ts and MixinJson.ts which reflect corresponding
java classes. Added tests for Mixin.