Multi-Valued and Universal Binary Neurons: Theory, Learning and Applications