[mapistore-python][sample.py: Enforce property usage instead of FID/MID attributes
[pymapistore]: Correct MID assignation in folder.c
[mapistore-python][sample-backend]: Add sanity checks in mapistore_python.c