Add luawa:exit(object) function for debugging
Add code profiling to debug
When using API mode template now includes messages from session
Add utils.tableCopy function