Start to move flow factory functions to pymatgen.
 Import upstream (Gabriel's modifications)
 There was a problem with htc/tests/test_inputfile.py (Added to the branch)
Merge branch 'master' of https://github.com/gmatteo/abipy