Rewrote likeness calculator

Squashed commit of the following:

commit 88a1e1072564d516353271e0bf7885a5525df9b3
Author: Sergei Grechanik <sergei.grechanik@gmail.com>
Date:   Mon Aug 19 12:38:47 2013 +0400

    Some renamings

commit 91f3a92ca11549ff5fc1896dfaeaa18a030b7fb4
Author: Sergei Grechanik <sergei.grechanik@gmail.com>
Date:   Mon Aug 19 11:40:54 2013 +0400

    Likeness: experiments and fixes

commit 21ecc81492b00fa18fed55ab8299d823ac37b9ef
Author: Sergei Grechanik <sergei.grechanik@gmail.com>
Date:   Sun Aug 18 23:05:21 2013 +0400

    Old likeness calculator

commit c05ddc70eee2f28c3cefdc78dfd087cf6bd3ff9f
Author: Sergei Grechanik <sergei.grechanik@gmail.com>
Date:   Sun Aug 18 21:35:04 2013 +0400

    ByTestingLikeness is better now

commit b9deb6f3c830eebfa4d548006aa0070dee2a72f7
Author: Sergei Grechanik <sergei.grechanik@gmail.com>
Date:   Sun Aug 18 14:52:29 2013 +0400

    Trying to fix/improve likeness calculator
Couple of fixes. Now we finally can add-comm!