Displays better error message for xpath parser limitations

As per this issure: http://manage.dimagi.com/default.asp?61313

Not all expressions containing `instance(` will raise an error on parse, so this message is only shown when they do.  I also changed the alert class to just "alert", as it's not strictly an error, just a warning.