Rightmanager sidebar and dialog. Common css classes for similar styling.
User dialog for the right manager dialog. Not completely done yet.

Externalized some code to the rightmanager.js file.