Global variable declarations refactored.

Global variables are now declared by expanding aliases of the form
:${var_type}_global() (e.g., :string_global(), :int_global()).