Cleanup: moved code from main loop to functions
Event-based main loop
Changed maximum attempts for HTCondor cmds
Added "internal status" dict
Reschedule HTCondor VM check sooner when fails
Support for "extra" parameters in event callbacks
Keep track of reqd VMs to avoid multiple reqs
Fixed wrong log message
Consider allegedly running VMs for min quota too
Fixed wrong log message
Merge pull request #8 from dberzano/event-loop

Event-based main loop