* Fix for CRAFTERCMS-867.
* Fixed getNavItemName so that it can accept non-folder items.