[Fixed] Added check for required ability when transferring structure ownership. Mantis 4118.

Change-Id: I7d87540dda23354968064e255831833c4eddf50d
Merge "[Fixed] Added check for required ability when transferring structure ownership. Mantis 4118." into unstable