Crazy init fixes

fix package/module python weirdness and extract tests from burnman code files