Reformatted the code and fixed mixed tabs/spaces to a more streamlined view

I know people are going to hate me for this patch but this is something that I feel was really really needed.

I took my time and ran through the whole IDE and Core sources (both .cpp and .h) and fixed all the issues with indenting, mixed spaces and tabs, trailing tabs at the end of the lines, useless if branch concatenations, etc etc

Nothing has been changed logic-wise but pretty much every single file in the engine was modified so it will be a bit of a problem to merge with everything else. I think it's really worth the effort, though!