added persistence of spatial pooler and calculation of percent prediction to characterize the training success
Merge branch 'master' of https://github.com/encs-humanoid/ai