Added a Template for Type Convertion

Added typeconv.h and typeconv.cpp that will contain type convertion
functions. Removed windows.h from graphics class as it uses d3d9.h