Implemented automagic block_size
Fixed a QA test
Merged from master
Merge branch 'master' into smart-block_size
Merge branch 'master' into smart-block_size
Splitted calc_num_tasks for event based an other calculators
Minor fix
Added a sanity check to make sure that the stored num_tasks is correct
Fixed a couple of comments
Fixed TaskArgGenTestCase
Update a comment and a docstring
Removed a sentence in a docstring
Merge pull request #1188 from gem/smart-block_size

Make the engine smart enough to infer the right block size