Add perft 'divide' command

To show perft numbers for each move. Just
use 'divide' instead of 'perft', for instance:

position startpos moves e2e4 e7e5
divide 4

Inspired by Ronald de Man.

No functional change.
Tidy up tt.h

Backport some non-functional changes
found working on 'dense TT' patch.

No functional change.
Fix a warning with Intel compiler

warning #2259: non-pointer conversion from
"int" to "int16_t={short}" may lose significant
bits.

No functional change.
Merge branch 'master' of https://github.com/mcostalba/Stockfish