Increased the robustness of VisibilityTrait::setVisibility().
Merge pull request #123 from grom358/visibility_set

setVisibility() can accept visibility constants or strings