First round of refactoring. Core and entries now working.
Search and replace of as_dict.
Merge branch 'pmg3' of github.com:materialsproject/pymatgen into pmg3
More search and replace.
Merge branch 'pmg3' of github.com:materialsproject/pymatgen into pmg3
More search and replaces.