Added a new method to traverse the format options.

The Loop API has a before and after for the post formatsso yuo can add
classes to them, to style them individually.

We added this traverse method to the component class.

[ticket: AdamKyle/Aisis-Framework#252][Branch: development]