Added C++ bag documentation, minor fixes to C++ item and trainer documentation
bag: fixed C++ documentation