Make wali::xfa::get_vars() (was register_vars) an API function

The user must call this function because if they want to create a vocabulary for multiple XFAs, they'll want to call it multiple times, combine the results, then call voc.setVars() manually.