Create opensubtitle interface

This interface is used to access easily the interesting
functions from opensubtitles.com.
Create main program to download subtitles

Subtitles will be downloaded as srt files, language is hardcoded.
That means there is quite a lot of stuff to do. But we can download
some subtitles.
Fix a crash when no subtitles found

Well, we are not very efficient to find subtitles for the
moment so we must be sure to handle the case where it finds no
subtitles.
Do not crash when answer is empty

Well, we have an empty answer if we don't specify any parameter.
Let's not crash in this case and throw an exception to make things clear.
Add search_on_imdb function to opensubtitles

The function can be used to search for movies on imdb, through
the opensubtitles interface. That can be useful to identify the movie
we have according to it's filename.
Fixes movie __str__

Well, it's more easy to read the episode and season number like that.
Add function to detect episode number

Episode number and season based on a pattern in the filename.
Most of the time the episode name contains a generic pattern
to specify season and episode.
Add TVSubtitles.net interface

We create a new class to download subtitles from TVSubtitles.net
This is far from perfect for the moment:
1. TVSubtitles search suck. We have to refine the search
2. Subtitle choice is not optimal. If we have many we take the first.
And probably some other improvements
Add LICENSE file

Well, we need to specify how this file can be distributed.
Let's pick 2-clause BSD licence without additional disclaimer.
à la NetBSD.
tvsubs: Remove useless class for TVSubtitles

The class doesn't make much sense, we have basically only static
methods. Let's make them module methods, that should be enough.
tvsubs: Make tvsubtitles.py executable

Well, why not using just this file if we need to download a file from
there ? Let's call the file with language, serie name, season and
episode, and it will fetch the subtitle from there.
tvsubs: Make sure we have srt file in zip

When we download a file from tvsubtitles, let's make sure we have a srt
file in the zip file. What we did before was to extract the first file
of the archive. Now, we look for a file that ends with srt or sub. If
none is present, we raise an exception.
Ignore epydoc files

Well, we should not commit or care about epydoc auto-generated
files like html directory.
tvsubs: Change wording Serie to TVShow

Well, it looks like the word Serie doesn't exist in english.
The correct wording is probably tv show and is the wording used by
tvsubtitles.net. Let's use the same
tvsubs: Split download_subid function

Well, we have seen that fileid and subtitleid are probably the same,
thus we created a function that doesn't fetch the fileid.
Let's have both function, just in case, with the one fetching fileid
being module-only.
tvsubs: Add docstrings

Add docstring so that we can generate a nice documentation with
epydoc.
tvsubs: Change module title in docs

The first line of the docstring is interpreted as the title.
Here, we used to start the documentation with the name of the module
itself, it doesn't create any kind of value. Let's give a short
description of what it does.
misc: Create misc.py for utilities

We need some generic purpose functions as utilities to create some
more complex tasks in other modules, let's create this file to
provide these functions
tvsubs: Use dice_coef to find best match

TVSubtitles.net might give a lot of answers when looking for
a specific TV Show. We have to filter out and find the correct one
automatically by discarding those which have a different name.
We have a maximum distance here expressed as a coefficient, and
we look for the best match.
Fixing pep8 recommendations