remove useless note
move private members to the bottom of headers
add bounded_prev helper and turn on debug bounds checking
make tests pass with valgrind (due to protobuf)
use valgrind in travis-ci tests