Refs #410. Fixed some naming and constant issues. Made the jquery.wymeditor.structured_headings.js file work for both the editor and the stand-alone case instead of having two separate files.