Added dice filter to chat controller. Added tests for dice filter and implemented functionality.