Removed nested set in favor of ancestor array tree. Misc bug fixes and tweaks.

Signed-off-by: Sean Wesenberg <wookets@gmail.com>