Made erdos_renyi more robust

Added two assertions that the parameters passed are correct
Added tests for the ER model
CONTRIBUTING
Test of ER runs for directed and undirected version
Link to readthedocs documentation
Merge pull request #2 from arnim/tim_tests

Additional tests