move some general purpose utilities to another class; added tests
Updating wiki
add BEncoding example and convert most tests to Java