Added forward declarations for a couple of friend functions.
Fixed conflicts:
	itensor/itensor.h
Fixed a problematic friend declaration in sparseref.h
Removed deprecated register keyword from MatrixRef code.