Split initial state machine to separate class

Move OBS simulation to separate class, should be eventually moved to separate
file as well. And converted test_dispatch_open_requests to use new and shiny
testing infrastructure.
Fixed documentation

Updated documentation to reflect changes I did in my previous commit.
Merge branch 'master' of github.com:openSUSE/osc-plugin-factory

Conflicts:
	tests/api_tests.py

Resolved manually
Merge pull request #57 from miska/master

Even better testing