added functions that make it easier to determine whether or not the current device is in a specific group or family of devices
changed the battery level type from Double to Int since UIDevice itself only returns a double with 2 digit precision (i.e. 0.34 for 34%)
modified tests for the new functionality