Fix toMatlabList() for ArrayLists with one element

- Add tests for single-element array lists conversion
Remove getThumbnailStore() and fix functions to read thumbnails