Make foundation.accordion.js more generic

Removed the references to a specific HTML element, and instead used the class associated with that element in the examples