DVD emulation: make seek timing more accurate.

Based on real measurements of a Gamecube disk on a Wii.  (If anyone else
is interested in running more tests, I can upload my code; it's a mess at
the moment.)

This isn't a complete model, but it's a step in the right direction:
in Metroid Prime, the loading times are sane, and I think I managed to do it
without breaking anything.
DVDInterface: tweak buffered reads to be a bit faster.

A read finishes when the result is complete in the drive's buffer, not
main memory.
DVDInterface: code cleanup.
Opcode decoding: 0xC0 isn't a valid command.

Fix our opcode decoders to handle this appropriately.
Video backends: fix rounding in lighting computation.

For whatever reason, the hardware doesn't do a full divide by 255, but
instead uses an approximation with shifting, similar to the way it is done
in TEV.
OGL/VertexManager: Remove unnused m_CurrentVertexFmt
Use size_t in std::string operations in IniFile.cpp, not int
make IOCTL_SO_GETHOSTID more accurate on Windows
remove unused and unexported function
Merge pull request #354 from magumagu/gx-primitive-mask

Opcode decoding: 0xC0 isn't a valid command.
Merge pull request #366 from Jezze/vertex

OGL/VertexManager: Remove unused variable.
Merge pull request #375 from degasus/remove_SkipVertices

VertexLoaderManager: Remove unused function.
Video backends: fix behavior of "konst" TEV inputs.

Also fixes TEVCOLORARG_HALF.

Values verified to match hardwarere.
Merge pull request #368 from magumagu/tev-konst-inputs

Video backends: fix behavior of "konst" TEV inputs.
changed IOCTL_SO_GETHOSTID to remove malloc()/free() calls
account for GetIpForwardTable() returning ERROR_MORE_DATA
remove trailing whitespace
Merge pull request #374 from ToadKing/master

make IOCTL_SO_GETHOSTID more accurate on Windows
Video backends: unify xfregs/xfmem structures.

Removes the duplicate swxfregs global variable/struct from the software
backend in favor of the ones from VideoCommon.
Video backend: merge global var xfmem into xfregs.

There isn't really any reason to keep them separate.
Video backends: mass-replace "xfregs" with "xfmem".