Sorted dict 1

Pull request for SortedDict and BalancedTree23 taking into account Kevin Squire's feedback from the past 12 days.
I believe you can just put `@inbounds` in front of the `if` statement above.  It doesn't propagate to called functions, only `getindex` and `setindex!` calls in the corresponding block.