multiple typos/bugs
Automatic style corrections courtesy of autopep8
changed to pass id_name of component, instead of type
Automatic style corrections courtesy of autopep8
Merge branch 'model_as_dict' into parafit

Conflicts:
	hyperspy/component.py
	hyperspy/model.py
Automatic style corrections courtesy of autopep8
mostly working now
Automatic style corrections courtesy of autopep8