circuits.app: Fixed several bugs (bad references) found by writing tests.app.test_daemon
circuits.app: Fixed several bugs (bad references) found by writing tests.app.test_daemon

treemo/circuits,treemo/circuits,eriol/circuits,nizox/circuits,treemo/circuits,eriol/circuits,eriol/circuits