refactor common code to image_optimizer_base
refactor and update syntax of tests
add identify option
make coveralls perfectly happy
move methods non-instance methods to class
Merge pull request #5 from s12chung/check_format_with_identify

Check format with identify