Add possibility to parse custom attributes

My solution is actually the same as in https://github.com/mwaterfall/MWFeedParser/pull/43, but it's more DRY and supports attributes without content (only with parameters).