added update next event, wrote more tests and moved max_simulation_time to __init__ of simulation
Merge pull request #2 from geraintpalmer/master

added update next event, wrote more tests and moved max_simulation_time ...