enabled not-pickling functions when exporting model to dictionary (default)
Automatic style corrections courtesy of autopep8
Merge branch 'model_as_dict' into ENH_fancy_general_indexing

Conflicts:
	hyperspy/misc/export_dictionary.py