Use gtest_main for main().
Pass objects by ref instead of value.
Add AmfVector<T> ctor tests.

This tests if AmfVector<T> objects with T as AmfItem subclass and as
non-subclass are allowed.