fix encoding issue for sub directory : pass index.php url
Fix pagging url issue
Merge branch 'master' of https://github.com/rtCamp/buddypress-media