refactored bencho+benchosample with warnings

* -Wall
* -Wextra
* -pedantic
* -Werror

added c++11 flag for compiler