Export of "bag of words" to python (2.4)

feature: add scripting support for "bag of words" to python / java wrappers.

unfortunately, the java side seems to need duplications of the wrapper definitions in features_manual.hpp (*removed*)