update mpi integration example

- use common library
- use function type instead of hardcoding function as in openmp code
update openmp integrate example

- don't use scanf, read number intervals from command line instead
add some tests

just tests that the applications execute, do not validate the results.
useful to see the commands needed to run the executables,
use make verbose-test (or ctest -V) to see the commands executed.
requested by bjørnar brende smestad
common library: add BLAS support
add linear algebra timing example
add notes on basic linear algebra operations
fixed: run latex twice for single processor notes to resolve references