Validate atom feed extensions

@heathd spotted that messing with the feed extension caused an exception to be raised. This adds validation of the feed extension.