added media loop
Merge branch 'upload-refactor' of https://github.com/rtCamp/buddypress-media into upload-refactor
added support for single media and some template tags