Semi-automatically remove some trailing whitespace.
Cause Card.getQuestion to reload the note.
Calling Card.getQuestion with one argument is getQuestion(bool simple), which does not reload the card.
Calling it with just simple=true and then not using the return value seems pointless.
So use reload=true and simple=true.
(Also update the comment.)
Merge pull request #34 from ospalh/get-question-reload

Cause Card.getQuestion to reload the note.
Persist ints and force input type to integer in NumberRangePreference.

Since NumberRangePreference is only going to be used for ints, it
makes more sense to persist and retrieve values as ints only. Also,
don't make the input type configurable; it's always integers.
Merge pull request #41 from hssm/num-range-values

Persist ints and force input type to integer in NumberRangePreference.
Add missing indices to integrity check.
Merge pull request #45 from hssm/indexcheck

Add missing indices to integrity check.
Use correct connection type in shared deck download (http/https).

The download link may be either HTTP or HTTPS, and openConnection()
returns the respective connection type. We need to typecast to the
correct type or it will break.
Merge pull request #47 from hssm/shared-deck-import

Use correct connection type in shared deck download (http/https).