CONN-1223: Updated files to add Direct menu icons and correct IE8 JS errors

This PR updates two items:  (1) Direct menu items will have individually different icons in the sidebar; (2) Internet Explorer 8 will not not show Javascript errors related to the sidebar.

Side Notes:  This PR also addresses an IE8-specific bug that did not refresh the selected sidebar menu item with the proper styles.  The correction was made in the Javascript file.  Also did some minor reformatting.

JS:
* sidebar.js -- corrections for IE8 errors

XHTML:
* SidebarForLogin.xhtml -- corrections for IE8 errors
* BaseTemplate.xhtml -- corrections for IE8 errors
* SidebarPaneForBaseTemplatePrime.xhtml -- implemented new icons for Direct menu