A simple Device Utility class for detecting orientations and devices.