Enhanced the scope provider to disable self extension of an entity
Wrote tests for the same
Added validation support for extent extends entity