Update View::set

Fixed previous commit

Improved tests

Fixed previous commit

Update Test

Added Note

Fixed indentation

Update View::set_global
Added test for View::set_global
Merge pull request #586 from sergeyklay/3.3/develop

Update View::set and View::set_global to support Traversable

Also adds tests for existing behaviour, thanks @sergeyklay