Support version 11 - 40 (typeNumber) and auto mode

Updating RS_BLOCK_TABLE to support version 11 - 40.
Updating make to handle auto version mode (if typeNumber == 0, the
qrcode generator will set version according to the length of data).