SDR Category Encoder and Tests

This conclude  #89. 
David please review 6 //TODO comments in org.numenta.nupic.encoders.SDRCategoryEncoder most concerning  Encoder API