Also refactored the portal page for sketches and moved the common code to the lms_sketch doctype module.
New Sketches can't be saved yet.