Refactored Navigation #59

Here's my initial proposal, see if this could be improved further.
Maybe rename it to getItemAttributes (same as below - getLinkAttributes)? coz logically function returns result... build when something is builded inside object and function returns just a link on current object that contains result of build process...