Reduce delta difference for Small Tree benchmark tests.
Update compact and static schemas.
Update the version to 0.4.0 in version.h
Global cleanup of code and tests before release.
Fix documentation errors reported by Doxygen and Sphinx.
Add new test inputs into python script.
Minor documentation updates.
Update documentation for release 0.4.0
Simplify probability analysis code.
Introduction of indexed fault tree and gates.
Fix XOR and negative events related logic in analysis.
House events are not reported in probability and minimal cut sets.
Fixes #80.
House events are treated as constants and removed from
minimal cut sets.
Closes #81.
Recover ThreeMotor tests.
Add simple test for Atleast gate.
Merge branch 'develop' into coverity-scan

Conflicts:
	README.rst
	doc/api_ccn.txt
	doc/bugs.rst
	doc/code_structure.rst
	doc/common_cause_analysis.rst
	doc/fault_tree_generator.rst
	doc/fta_graphing.rst
	doc/fta_implementation.rst
	doc/installation.rst
	doc/opsa_support.rst
	doc/probability_analysis.rst
	doc/scram_description.rst
	doc/todo.rst
	share/scram.rnc
	tests/input/fta/correct_tree_input.xml
	tests/input/fta/run_inputs.py