Fixed accordion list items interactions

This is fix for the error introduced by removing <a href> from <li> elements in my previous commits.

- added beforeRender / afterRender callbacks to accordion.
- when data re-renders we call the callbacks and add event listeners to <li> elements in Recent/Favorite/Search lists.