Test cleanup

Adding mock for GraphicsDeviceCapabilities.
Changed library layout for mocks.
Removed equality operators from state objects and moved them to the test framework.
Added ArgumentError when creating a DeviceChild.
All tests now passing.