need to set the variation before setSDK, otherwise the warmup with Xcode46 will start the simulator, and it will be too late to read the settings.
Merge branch 'dev' of github.com:ios-driver/ios-driver into dev
Merge branch 'dev' of github.com:nicegraham/ios-driver into dev
If the request lacks the language or locale capabilities, then use the default ones on the system running ios-driver.
Merge branch 'dev' of github.com:nicegraham/ios-driver into dev
updating version and notes for  0.6.5 release
Refactor JS code generation to use JSTemplate.

Fix multiple JS code generation bugs due to missing :foo string
substitutions.

Conditionalize a string substitution in
BaseFindElementNHandler.createGenericCriteria().

Rename DragFromToForDurationNHander to DragFromToForDurationNHandler.
Refactor createInstrumentCommand().
Add missing break statements to switch cases.

Fix several compiler warnings.