Small cleanup and refactoring.

Added validateOptions() function, cleaned up Link creation functions.
Also renamed MacVlanDev option to just Dev - its more concise and
can be used without much confusion in MacVtap interface.