Refactored copy buffer validation routines.
Added basic dynamic d3d buffer object and extended test cases to include functions that depend on d3d9 device.