Feature #4977: Add cpp test case for AssetsManager
Feature #4977: Avoid overwriting searchPath
Feature #4977: Add manifest files for test case
Feature #4977: Refactor some event for AssetsManager and add event registration functions