API Fixes: Setup test infrastructure

Add a basic framework for writing API tests, not only increasing overall
coverage, but also helping verify that client libraries for other platforms are
in sync with the latest API changes
API Fixes: Fix wrong loop in vim_list_runtime_paths
API Fixes: Use macro for initializing all arrays