#531 invalidate object cache saving objects

Moved ObjectCacheComponent to libs BeObjectCache to reuse also in models #530