Enrich the flot with the ability to add text into markings.

Use $.isArray instead of instanceof Array; Use full name for parameters.
Merge pull request #1178 from Jeff-Tian/0.9-work

Enrich Flot with the ability to add text into markings.