psr-2 update, refactor of menuItem html, addition of menuIcon

- reformatted code
- added updated custom navItem button html
- added passive icon value
- escaped stdClass