Lua func fixes

* isSiteAdmin() - proper handling of non-admin users
* isSiteAdmin() - return proper array-wrapped results
* setRawResult() - handle empty string as a valid value,
     allow null to turn rawResult mode off

Change-Id: I108576635e08f3d278bd810fb44bd1727d14f52d