Refactor 'community' module and rename to 'inference'

This is a significant refactoring of the statistical inference code,
with many cleanups and improvements, and is aimed towards future
extensibility.

The old community module is available as 'community_old' and will be
completely removed in the near future.
8 jobs for master
Status Job ID Name Coverage
  Test
failed #1100
amd64
job_clang_amd64

02:42:15

failed #1104
amd64
job_clang_amd64_nosh

03:13:31

failed #1102
amd64
job_clang_py2_amd64

01:43:09

failed #1097
i386
job_gcc_386

01:03:46

failed #1099
amd64
job_gcc_amd64

05:05:43

failed #1103
amd64
job_gcc_amd64_nosh

05:03:26

failed #1098
i386
job_gcc_py2_386

01:03:44

failed #1101
amd64
job_gcc_py2_amd64

01:30:36

 
Name Stage Failure
failed
job_clang_amd64_nosh Test There is an unknown failure, please try again
1 tests in 1 items.
1 passed and 0 failed.
Test passed.

Document: inference
-------------------
-bash: line 50: 31405 Segmentation fault (core dumped) OMP_NUM_THREADS=1 python3 /usr/bin/sphinx-build -b doctest . build *.rst

ERROR: Build failed with: exit status 1
failed
job_clang_py2_amd64 Test There is an unknown failure, please try again
Running Sphinx v1.3.6
making output directory...
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused

Configuration error:
There is a syntax error in your configuration file: invalid syntax (blockmodel.py, line 743)

ERROR: Build failed with: exit status 1
failed
job_clang_amd64 Test There is an unknown failure, please try again
50 tests in 1 items.
50 passed and 0 failed.
Test passed.

Document: inference
-------------------
-bash: line 50: 33556 Segmentation fault (core dumped) OMP_NUM_THREADS=1 python3 /usr/bin/sphinx-build -b doctest . build *.rst

ERROR: Build failed with: exit status 1
failed
job_gcc_py2_386 Test There is an unknown failure, please try again
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/gitlab-runner/builds/c098b1de/1/count0/graph-tool/src'
Makefile:585: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/gitlab-runner/builds/c098b1de/1/count0/graph-tool'
Makefile:472: recipe for target 'all' failed
make: *** [all] Error 2

ERROR: Build failed with: exit status 2
failed
job_gcc_386 Test There is an unknown failure, please try again
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/gitlab-runner/builds/c098b1de/0/count0/graph-tool/src'
Makefile:585: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/gitlab-runner/builds/c098b1de/0/count0/graph-tool'
Makefile:472: recipe for target 'all' failed
make: *** [all] Error 2

ERROR: Build failed with: exit status 2
failed
job_gcc_py2_amd64 Test There is an unknown failure, please try again
Running Sphinx v1.3.6
making output directory...
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused

Configuration error:
There is a syntax error in your configuration file: invalid syntax (blockmodel.py, line 743)

ERROR: Build failed with: exit status 1
failed
job_gcc_amd64_nosh Test There is an unknown failure, please try again
  warnings.warn("tight_layout : falling back to Agg renderer")
/usr/lib/python3.5/site-packages/matplotlib/tight_layout.py:222: UserWarning: tight_layout : falling back to Agg renderer
warnings.warn("tight_layout : falling back to Agg renderer")
/usr/lib/python3.5/site-packages/matplotlib/tight_layout.py:222: UserWarning: tight_layout : falling back to Agg renderer
warnings.warn("tight_layout : falling back to Agg renderer")
/usr/lib/python3.5/site-packages/matplotlib/tight_layout.py:222: UserWarning: tight_layout : falling back to Agg renderer
warnings.warn("tight_layout : falling back to Agg renderer")

ERROR: Build failed with: exit status 1
failed
job_gcc_amd64 Test There is an unknown failure, please try again
  warnings.warn("tight_layout : falling back to Agg renderer")
/usr/lib/python3.5/site-packages/matplotlib/tight_layout.py:222: UserWarning: tight_layout : falling back to Agg renderer
warnings.warn("tight_layout : falling back to Agg renderer")
/usr/lib/python3.5/site-packages/matplotlib/tight_layout.py:222: UserWarning: tight_layout : falling back to Agg renderer
warnings.warn("tight_layout : falling back to Agg renderer")
/usr/lib/python3.5/site-packages/matplotlib/tight_layout.py:222: UserWarning: tight_layout : falling back to Agg renderer
warnings.warn("tight_layout : falling back to Agg renderer")

ERROR: Build failed with: exit status 1