raise BundleError when defining unknown action attributes (fixes #77)