Demonstrate working shock tube problem in smr1d.lua, but has periodic BC's
Find and fix several bugs, one critical

+ Fix the Block:max_wavespeed function: it was sending self._block
  rather than b._block to the C function

+ Patch potential memory errors due to filling into an unallocated
  parent

+ Change the data type of getparami from long to int: Lua code was
  incorrectly using long