refactor opal_upload, implement updating of view indexes

Started a refactor to have opal_upload support more types of operations
Implement updating of all indexes in a project that could be changed.
Implement delete and replace operations for automatic upload