ADMINUI-943 Fixed some reactjs 0.12 warnings and removed some dead code