avoid inconsistent usage of EncodedValue if double
added some more tests
Merge branch 'public'
merging single commit: f298369, 2014-02-18, make direction-dependent weighting possible
merging single commit: 4847a5b, 2014-02-18 | made edges returned from Path correctly directed
better error description if doing preparation twice
fixed #156