1. -Add loadingphase variable to avoid calling OnPropertyChange when load from xml
2. -Add IsTemplate to indicate if a proxy is template.
3. -Add proxy variable to component instance(should be set into a EDITOR_MODE marco)
4. -Refactor part of the logic.