better To() function

previous one was kind of broken.
adding plx::To

Safer static cast.
add gen_utests to vcproj as a pre-build action