Blas generation script and accompanying build infrastructure.
Make gen_types.py run automatically if modified.
Remove unused variable in cuda_free().
Make all tests pass; make the generated 'generic_blas.inc.c' a little more legible; fix inverted M and N in the gemv definition.