fix error handling
add more options to itsalive
add options to migrate-oplog
add ability to use as module
Merge pull request #4 from vmakhaev/master

Add more options