Find real option definer.

When an option is defined through the module level "define" fn, not
directly through the class method, we should look one frame up to
find the real caller.
Merge pull request #1241 from heewa/find_option_definer

Find real option definer.