added support for comparison samplers (DirectX only)

Comparison samplers allows to use SampleCmp methods in HLSL. For example, this feature can be really useful when implementing shadow mapping.

Also moved ToComparisson method to SharpDXHelper, so it might be reused in several places.