Added type property to all relevant objects.
Moved *Exporter code to the objects themselves. See #4621.
Merge branch 'dev' of https://github.com/mrdoob/three.js into dev