Add lint and and clean-files to test-full target.
Deepcopy state in getstate to avoid mistakenly modifying existing state.
Release v0.2.3.