final refactor from stackExchange suggestions

made suggested changes from here:

http://codereview.stackexchange.com/questions/60811/implementation-of-a-avl-tree