changed to pass id_name of component, instead of type
Automatic style corrections courtesy of autopep8
Merge branch 'master' of https://github.com/hyperspy/hyperspy into model_as_dict

Conflicts:
	hyperspy/component.py
	hyperspy/model.py
implemented twin function passing as their source code
Automatic style corrections courtesy of autopep8
added "active" parameter attribute passing
Merge branch 'master' of https://github.com/hyperspy/hyperspy into model_as_dict
Merge branch 'master' of https://github.com/hyperspy/hyperspy into model_as_dict
ENH: added fancy model indexing
parameter field "_id_name"
added tests
added _init_par for components
Merge branch 'ENH_fancy_model_indexing' into ENH_component_init
add init vals to spline and correctly init all components in model.__getitem__
Automatic style corrections courtesy of autopep8
Merge branch 'model_as_dict' into ENH_component_init

Conflicts:
	hyperspy/model.py
Automatic style corrections courtesy of autopep8
scalable_fixed_pattern working
Automatic style corrections courtesy of autopep8
BUGFIX: folds and unfolds variance as expected