python/PyView: properly reference count parent objects

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).
Merge pull request #4 from avdv/fix-refcount-pyview

python/PyView: properly reference count parent objects
Define SHLIB_LD in terms of $CXX instead of g++
Fix 9a89d38 in configure.in, regenerate configure
Merge pull request #6 from berkus/master

Add cmake project. Support clang, clean up warnings.
Merge branch 'master' of https://github.com/jcw/metakit
- Add CMake support for building Python and Tcl
Merge pull request #7 from gahr/master

Use $CXX insteaf of g++, support CMake to build the Python and Tcl bindings
More warnings found by clang - writable static strings deprecated.
Use stdint.h for types.
Use specific datatypes.

@todo Include stdint.h?
Merge pull request #9 from berkus/fix-warnings-1

Remove more warnings
Merge pull request #10 from berkus/fix-types-1

Fix some types by including stdint.h
Merge branch 'master' of https://github.com/jcw/metakit

Conflicts:
	CMakeLists.txt