Find kdist real directory if kdist bin file is a symlink
In the case of a freshly clone project, kdist submodule is empty

Therefore 'kdist project update' needs to work in restricted mode.
Release 0.9

Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com>
Add simple pattern matchings helpers
Add bug management support

Bugs can be imported into a a simple database made of text files whose
filenames corresponds to the associated bug ID.

Currenty it understands the CVE official text list provided by the
cve.org that can be found at
http://cve.mitre.org/data/downloads/index.html.

It also uses git notes feature to mark a commit as a fix for a bug
which allows to figure out quickly if a commit is a fix or not. This
is considerably faster when finding out which bugs are fixed by a
specific release (see 'kdist bug log' command).