Added a custom exception for invalid UI elements.

Signed-off-by: Atheriel <atheriel@gmail.com>
Started converting old error handling to new error handling in the Accessibility Wrapper.

Signed-off-by: Atheriel <atheriel@gmail.com>
Finished migrating error system.

Signed-off-by: Atheriel <atheriel@gmail.com>
Implemented rich comparison (mostly for systemwide refs) and proper deallocation.

Signed-off-by: Atheriel <atheriel@gmail.com>
Added a pid member to elements. Some cleanup.

Signed-off-by: Atheriel <atheriel@gmail.com>
Added the ability to get the topmost AXUIElementRef at a given position. This should make the Accessibility API wrapper mostly complete.

Signed-off-by: Atheriel <atheriel@gmail.com>