Add support for lectures and sandboxes
Support both output logging and error logging in the Environment.log() method
Consistently use row_id, and not itemid or rowid