AIDEGen: Refactor project_info.py for using in class MainProjectInfo.

Bug: 136982078
Test: 1. m aidegen;aidegen-dev tradefed
      2. Confirm the iml files are not changed.

Change-Id: I151dd2093d4d3ad73640a0133d9bdabe71d862b3
3 files changed