Fix bug #5502 + tests
Merge branch 'next' of https://github.com/crististaicu/fred-staging.git
into next

Conflicts:
	src/freenet/support/math/MersenneTwister.java