Added composed iterator tests on a vector.
Updated gitignore for vim swapfiles.