LPS-1371 - Need a provision to clear old chat messages

Hey Robert,

We need to update the chat portlet.  Attached are the changes for the chat portlet to clear the history.  Most of the code changes are in this pull.  What we need to do is make sure this rebases to master, add an options icon next to the minimized icon which will open a menu with the option to "Clear chat history".  We also want the ability to close the chat window only when we hover over the name in the toolbar.

This update can be found at http://issues.liferay.com/browse/LPS-1371

Please let me know if you have any questions.

Thanks!

- Jon Mak