implement FormatStr.calc_offset() and improve FormatStr.dump_stack(), FormatStr.write4()
Pattern.offset(): support search by string as well as address
implement scan subcommand