small fix for (a bit) better error display on trying to store invalid groovy
refactored and fixed a lot of stuff around the chat system and impersonation handling
Updated build path settings.
Merge remote-tracking branch 'upstream/master'