controller - bug fix

the utility thisNestedExists stopped working properly in a lot of cases
where '_app' was being looked for but doesn't exist within 'window'.
Added ability to pass a context to search within.