Unit test for bug fix #46: tieIndices not working correctly for complex tensors.
Fixed complex case of tieIndices, fixes #46.
Further fix of complex ITensor addition for a+b, a real, b complex case. (Was already fixed on master branch.)