Interface omp_get_num_threads, omp_get_max_threads
openmp: implement with_openmp()
Polish the solver statistics printout

Print the number of threads and a speedup if OPENMP is enabled, otherwise just
the total time.
Merge pull request #50 from certik/func_deriv

Improve OpenMP interface