Changes in disambiguation-work

New way to compare documents - voters and weights.
Set of functions to compare strings. 
Regexp parser moved from an old project.