Added a list iterator and an integration test that uses this new feature.
Minor changes to the integration test.
Added a removeCurrent() function to the iterator.
Fixed a bug in the reference counting mechanism.
Added a getLength() function and updated all list functions to use the iterator instead of manipulating nodes directly.