Add back support for default values

Also add method for getting the zval from a constant expression. This
is needed for other types of initializers as well.