[bp/r52540][FIX] Prevent "array conversion to string" warning


git-svn-id: file:///var/local/code.tiki.org/tikisvn/branches/12.x@52541 b456876b-0849-0410-b77d-98878d47e9d5
[bp/r52542][FIX] Prevent error due to not an object at the end of recursion


git-svn-id: file:///var/local/code.tiki.org/tikisvn/branches/12.x@52543 b456876b-0849-0410-b77d-98878d47e9d5
[bp/r52544][FIX] Allow slash in domain pattern in matching references as might be possible in local profiles


git-svn-id: file:///var/local/code.tiki.org/tikisvn/branches/12.x@52545 b456876b-0849-0410-b77d-98878d47e9d5