added BaseClass constructor, split apply into apply & applyTo
made mixin, deepMixin curryable