Licence references are now updated. Close #42

Relevant tests were also added. The current solution iterates
once over all licences in order to fix those references - can
be done better.

Signed-off-by: Vlad Velici <vlad.velici@gmail.com>