Object values.

Implements object values and adds reference counting of objects to
Value class. This way we don't have to use handles every time we want
to use an object as value.