Make vertex loader testable

This branch contains some core refactorings and global dependencies removal to make VertexLoader testable. A sample unit test has been included, and while it does not test much (a simple position conversion test) it works fine, even testing JIT :)
GLWin is implemented in WX code, this is InputCommon/Core code. Unless you're saying that WX dependencies in Core are fine, this is implemented poorly.