Fix missing PMGSonable for Incar and Potcar.
Fix for random test failure due to inexact json dumping.
Merge branch 'master' into stable_py3