vector.hpp needs devlist.hpp for current_context
make random_vector a template, support int.
Fixing random_vector<>() in tests

Previous version gave linker error (undefined rference to rng/rnd).