Support Calabash Lite mode which uses pure UIAutomation

Calabash Lite is a mode of operation where we can execute automated tests without needing the Calabash server. Only a smaller subset of operations are supported.

To use, call `relaunch` or `start_test_server_in_background` with data similar to: 

```
{calabash_lite: true, app:'com.example.app', device_target:'device'}
```

The option `uia_strategy` is also supported and passed on to run_loop (see https://github.com/calabash/run_loop/pull/18).
Oh sorry, didn't see it from the email notification. I'll try and look through this today. 

Sent from my iPhone

> On 01 Sep 2014, at 23:13, Joshua Moody <notifications@github.com> wrote:
> 
> In calabash-cucumber/lib/calabash-cucumber/launcher.rb:
> 
> > @@ -555,17 +555,7 @@ def relaunch(args={})
> >  
> >      if run_with_instruments?(args)
> >  
> > -      uia_strategy = ENV['UIA_STRATEGY'] || 'http'
> > -      case uia_strategy
> > -        when 'http'
> > -          args[:script] = :run_loop_fast_uia
> > -        when 'run_loop'
> > -          args[:script] = :run_loop_host
> > -        else
> > -          candidates = ['http', 'run_loop']
> > -          raise ArgumentError, "expected '#{uia_strategy}' to be one of #{candidates}"
> > -      end
> > -
> > +      uia_strategy = args[:uia_strategy] || :preferences
> uia_strategy = args[:uia_strategy] || :preferences
> uia_strategy is an unused variable.
> 
> args does not contain the key :uia_strategy.
> 
> I think this is what you want:
> 
> unless args[:uia_strategy]
>   args[:uia_strategy] = :preferences
> end
> —
> Reply to this email directly or view it on GitHub.