Added in a 'region' query parameter to the anonymous widget templates

git-svn-id: https://plugins.svn.wordpress.org/wripl/trunk@774671 b8457f37-d9ea-0310-8a92-e5e31aec5664
Some  tidying up like creating the WriplEvents object in the global scope and the removal of redundant code.

git-svn-id: https://plugins.svn.wordpress.org/wripl/trunk@774674 b8457f37-d9ea-0310-8a92-e5e31aec5664