Found and fixed major bug in addition of complex ITensors, triggered for a+b when a real, b complex, and a and b have different Index order. Fixes #45. Wrote some related unit tests. Also simplified handling of complex ITensors in expandIndex and updated unittest/mps_test.cc to use latest InitState interface.
Changed deprecated index_in_common method to use warnDeprecated method.
Added template method uniqueIndex which is the opposite of commonIndex.
Converted certain psiHphi and psiHKphi methods to templates over the tensor type.