Adding compilation support for OS X.
All references to tr1 namespace removed. R.m4 updated to add c++11 flags.
Allocators added back in
Merge branch 'jreeseue-cxxr-jit' into cxxr-jit, except for the changes to NEWS.