Correctly handles non-parented objects

Or so I think. Rotation of parented objects does not work correctly in
all cases. Neither UV texture mapping or materials are correctly
exported.
Code also needs tons of cleanup, as I've left the old code commented in
place and have not optimized a single bit (eg. repeated calls to
x.matrix_local.to_translation()[x]