changed osx test for arc compatibility
made osx test raii helpers more user friendly
fixed typo
updated c++11 compatibility for raii wrappers
updated BPtr semantics to be more in line with stl smart pointers