Fixed tab deletion and added Scope webpart property

Tab deletion was failing so refactored to ensure they are deleted.
Added Scope being set for the 'Search Core Results' webpart.