Fixed bugs in unit test prob_test.cpp
Fixed some more BOOST_CHECK_CLOSE misuse
Fixed division-by-zero issue in pow() which caused problems for GLC+ with sparse factors
Extended SWIG python interface (inspired by Kyle Ellrott): inference is possible in Python now!
Removed conversion script FastInf->libDAI because it is buggy (uses wrong permutation of factor entries)
Multiple changes: changes in build system, one workaround and one bug fix
- Optional compilation targets are now set in include/dai/dai_config.h instead of Makefile.ALL
- Workaround for bug in Boost Graph Library version 1.54 ("The graph may not contain an edge with negative weight") by not using Prim's minimum spanning tree algorithm anymore
- Small fix in swig/dai.i
[Julien Rebetez] added FactorGraph::printDot() to SWIG interface
Fixed regression in SWIG interface (thanks to Benjamin Mumm for reporting this) and extended DAG::ancestors() and DAG::descendants()
Added gitignore
FactorGraph::setFactor can now change factor sizes

With the setFactor function, now the factor can be a different size than
the preexisting factor. Also added a few tests for this behavior.

Unfortunately the additional functionality did not work with regiongraph
so I added an assertion for RegionGraph::setFactor to ensure the factors
are the same size.
Added shared library creation to makefile

I only know about linux, so the MAC and windows platforms will probably
need minor changes
Fixed shared library build
Update gitignore