tridiag_worker: support for complex Hermitian matrices

Real/complex implementation is switched with a bool template parameter
of tridiag_worker. Set to real by default.
Cleaned up tridiag test.
Slight coding style impovement in tridiag_worker
Merge branch 'complex_tridiag' into 1.2-dev