Bug 1079748 - Implement hierarchy manager

we won't need to do this is we use the fakedialer :)