python/PyView: properly reference count parent objects

Hi.

I'm currently evaluating metakit using the python interface.

I did encounter a problem when trying to print a view returned by some function. Looking at the code I determined that the objects are not properly refcounted.

Before applying this patch, the output of the following
code was just "empty":

def foo():
  s = metakit.storage(...)
  v = s.getas(...)

  return v

v = foo()
metakit.dump(v)

That's because the storage and its data already had been
reclaimed by Python before returning the view.

Hence metakit.dump(v) only printed empty lines and a total
row count (which was correct, BTW).