Initial port from SVN

The project is forked from [1]. No history is copied from the SVN repository.
[1] https://svnweb.cern.ch/trac/singletop/browser/trunk/bnn?rev=572
Merge branch 'master' of github.com:andrey-popov/bnn-hep