PGML patch

Fix problem with `Context` not being called as a function (worked in earlier versions of Perl), and make sure MathObjects are loaded.  Fixes bugzilla 3060, and Geoff's issue from pull #101.