Added processed state to database and scheduler
added failure state
Merge branch 'processed_state' of git://github.com/Thorsten-Sick/cuckoo into Thorsten-Sick-processed_state

Conflicts:
	docs/CHANGELOG
Merge branch 'development' of github.com:cuckoobox/cuckoo into development