Compilation of nupic.core from nupic

- CMakeLists updated to compile nupic.core from nupic.
- nupic.core/apps/htmtests moved to nupic/qa/htmtests
- all unit tests at nupic.core moved to  to nupic/qa/testeverything