rename circuit class to Circuit, add deprecation warning in __init__, change calls to circuit() where they occur