Use super / new style classes

- Turn containeratom into containermixin because containers can also
  have properties in some cases (e.g. meta)