Adapt IsInitialBlockDownload parameters.

Make the parameters in IsInitialBlockDownload less strict.  Consider it
initial download if a change happened in the last minute (instead of 10
seconds) and the best known block time is more than an hour ago (instead
of a day).
Move variable to more fitting position.