Added support for getBlocks to allow much faster reads of vast amounts of block data

This method is mentioned in the official python API but is labelled TODO. It seemed logical to have this functionality even though it was never finished.