'Autocorrect' for posts per page setting

See #3671
- As @JohnONolan’s suggestion, if the user enters an invalid value for
the ‘posts per page’ setting, the number autocorrects to 5, iOS
autocorrect-style
Merge pull request #3816 from felixrieseberg/iss3671

'Autocorrect' for posts per page setting