Doc build now builds nupic and nupic.core.

Fixes #50.

Update documentation generation script to build docs and publish for
both nupic and nupic.core.