replace Vector with ArrayList in autogen
replace Vector with ArrayList in test suite
Merge pull request #1171 from mtbc/rebased/dev_5_0/trac-12385-use-arraylist

assist #12385: use ArrayList instead of Vector (rebased from develop)