pretty big refactor of verify

using a combination of mixlib-shellout and Process.spawn to control various commands.