Implement vec_basic and related functions

In particular: eq, compare and printing
vecs_equal -> vec_basic_equal
dicts_equal -> umap_basic_int_equal
Rename *_equal to *_eq
Rearrange functions
Don't print the last comma in STL containers
Merge pull request #140 from certik/vec

Add vec_basic type and related functions