Improved performance and dtype bug fixes for FermionOperator2nd.
Created by: jwnys
Improved performance:
- max_conn_size is typically lower now, since we count only one connected element per hermitian conjugate pair
Bug fixes:
- Copy did not have the correct dtype due to inplace changes
- Double terms did not cancel
Added a few extra tests.