Fix python segfault in Mac OS X.

In Mac OS X, a segfault occurs when running `import caffe` in Python.  This PR fixes that segfault by initializing Python before attempting to initialize Numpy.