Moved patmatch() to yosys.cc
Various win32 build fixes in yosys.cc
Added next_token() function (strtok() replacement)
More Win32 build fixes
Fixed next_token()
Using next_token() to parse commands