Add capability to read table flag fields from Lua API
Define strlcpy on platforms that do not have it
ServerEnvironment: Remove direct dependency on EmergeManager