Add Question and Question* environments to AMS modules. Fixes bug

Patch from Paul Rubin.
Fix small problem with question environment.
Updates to AppleScript support, and documentaoin for it.
Check in InsetLabel if LFUN_INSET_MODIFY is intended for us.

Every inset should do this.
Simplify, and delete unused routine.
EmbeddedObjects.lyx: describe caption above/below

- also simplify the float section structure in the UserGuide.lyx
Add comment.
German EmbeddedObjects.lyx: fix a typo
Fix bug #8999 by locking math macros while they are updating.
Disable invalid inset-modify (#9019).