Integrate CompileStateTracker to the ContextDataManager

1. Integrate CompileStateTracker to the ContextDataManager
2. Use CompileStateTracker in BuildStatus