Fixed warnings when compiling for 64-bit

Changes the method signature of `-integerForKey:` to match the implementation in NSUserDefaults by using NSInteger instead of int.