Changed Locator Class to Non-Static

Locator was static and making tests fail when an exception is thrown.
Changed from a static class to a non-static class to resolve issue.

Also modified PurpleElementBase and PurpleWIndow to use the non-static
version of the locator.