Update version to release candidate 1.
Trace unit tests.

Tracing unit tests functions calls makes easier to track what's going
on when regression tests fail.
Cleanup resources when device handle is deleted. closes #65.

Legacy module has no explicity resource cleanup functions, so we free
allocated resources in the __del__ method.