iOS: Added keyboard for editing integer values in BasePreferencesViewController. Also added a delegate for validating values in PreferenceCellItem. The preferences for the sync service (starting service on startup, port, etc.) are 95% functional.