psr-2 update, addition of menuIcon

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