Fixed bug in material fetch where index was wrongly calculated and was in
fact 2 times as far in the texture. Also added lighting support to the
toolchain, now we can import lights from maya or any other 3d package that
assimp supports.