Add support for numpy arrays
Make compatible with json_tricks numpy handling (#6) Added support for handling np.ndarrays in the json_tricks style. We can load files written by json_tricks and write files that are compatible with it. I also copied over the sparse matrix handler from core.