add license header to all core php files