Issue #20: Add restrictions to the display resolution

The restriction put in place checks if the graphics adapter support the preferred resolution.
Also adds a resolution class capable of storing a display resolution and compare different resolutions.