Move website/lego.lua to media/

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

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

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

Rewrite the `ident' function for the libquvi 0.9+ series.
* Implement `Lego.can_parse_url' function
* Remove any now obsolete code

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
media/lego.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/lego.lua: Rewrite parse function

Rewrite the `parse' function for the libquvi 0.9+ series.
* Remove now obsolete code (e.g. self.host_id)
* Implement `Lego.iter_streams' function
* Apply 2-space indentation
* Add missing vim modeline
* Parse thumbnail URL

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

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