Improve "mixed mode" detection and reporting.

Recognize size() as a function that can't be called at top level in
active mode.

Report line number and offending function name in mixed mode error.

Fixes https://github.com/jdf/Processing.py-Bugs/issues/107