Adds isNodeAttached helper method.

PR 1 for `onAttach`

This adds a helper method `isNodeAttached`. It lets you know if an element is a child of the document or not. I also updated `triggerMethod` to take advantage of the new helper.
needs some love
https://github.com/marionettejs/backbone.marionette/blob/minor/api/helpers.jsdoc