libmagic: Now --with-python

And a test.
Use `brew test libmagic --with-python`