feat($rootScope): Add custom compare and copy functions to $watch

Closes #10069