[WFLY-800] Fix wrong handling of ignored elements on EAR parsing

Instead of leaving the parser in an invalid state, consume the element content.  Add consume method for use by other parsers as well.