Vector encoder

encodes a list/array of (same type) values. 

provides version for calling from OPF and Simple* for beginners. 

unittests included. 

GH Issue: https://github.com/numenta/nupic/issues/425