Move website/1tvru.lua to media/

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
media/1tvru.lua: Relicense under AGPLv3+

See also:
* http://article.gmane.org/gmane.comp.web.flash.quvi/333

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
media/1tvru.lua: Rewrite ident function

Rewrite the `ident' function for the libquvi 0.9+ series.
* Allow HTTPS input URLs (media streams will remain HTTP nonetheless)
* Allow '/sprojects_utro_video/' in addition to '/sprojects_edition/'
* Implement `OTvRu.can_parse_url' function
* Remove any now obsolete code

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
media/1tvru.lua: Remove query_formats function

Remove the now obsolete `query_formats' function which is no longer
supported by libquvi 0.9+.

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
media/1tvru.lua: Rewrite parse function

Rewrite the `parse' function for the libquvi 0.9+ series.
* Check for 'og:video' to determine if input URL contains a video
* Use LuaJSON to parse the media {title,stream,thumb} properties
* Use 'windows-1251' charset encoding with quvi.http.fetch
* Media duration (ms) is now parsed and returned
* Remove now obsolete code (e.g. self.host_id)
* Apply 2-space indentation
* Update vim modeline

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
tests: Add a test for media/1tvru.lua

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
Merge branch 'tg/next__media_port_1tvru.lua' into next