Dyadic code for vector module

Has been based off #7566 
Adds code for dyadics, with tests.
Also restructures the Dyadic and Vector code into a nice Object-Oriented structure with the introduction of a common super class.
Yes, @srjoglekar246 can you stop using backslashes. I think it is preferred to use parentheses.