added support for inline scripts

The `x:script` element can now be used as an alternative to the `script` attribute.

(bumped version to 1.1.0 since this is a new feature)

fixes #6