Feature emval improvements

As discussed in issue #2925, here is the proposed patch for discussed improvements.

Let's shoot remarks ;-)
if we don't increment here, then _emval_decref should handle the special case. This would also remove the need to increse_ref in val::null() and val::undefined()