add refreshChat - solves #238
add refreshChat - solves #238

adds a function called refreshChat.
this function removes all messages and runs the getMessages function.
the getMessages (with no boolean parameter) function is the way we load the first 25 messages for the user on init normaly.

this results in the message handling being run with the new settings.

refreshChat is only run when an option that has to do with modifying messages is toggled.

two caveats of this method:
- all messages are removed, only the latest 25 are reloaded back into the chat
- each toggle results in an ajax get, very inefficient imo. perhaps we could store the messages and rehandle them without having to use ajax.
BNolet/RLC