[Math] Added sign method (CraigFeldspar)
[Core] Added a function to insert an element in a sorted array (CraigFeldspar)
Fixed hasClass method when no class exists (demonixis)