Support Boost and TR1 free compilation

Add randomizer wrapper for armadillo.
Add Boost and TR1 free type traits.