created simple tastypie url reverser

Hi,

I have created a simple method to easily reverse tastypie url based on specified resource detail. I hope this will help to avoid hard coded API url, and try to solve the TODO in the videos api section. thanks

I am sorry for the commit typo, I mean url reverser.