Add gemspec to Gemfile for gem template.

Since spec.add_development_dependency "rake" is already in the gemspec template, we don't need it in the Gemfile and we should always defer to the gemspec for our dependencies except for advanced use cases.
[command] Fix error where a local was used instead of an ivar
[REPL/OSX] Make it work when codesigned and sandboxed.

Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-410
[Command] Disable template validation for now.

Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-418.
[Command] Improve `create --template` description to include URLs.
[Vendor] Cannot reuse opts[:cflags] if it has been deleted before.
[Vendor] When an explicit BS file exists in lib root, use that.

This allows a lib author to override the BS metadata by (manually)
creating and supplying one, which seems to be the case with Joybox.
[Version] Add a util class that can be used to compare versions.
[Command] Use Motion::Util::Version to compare.
[rake/iOS] Fail when targeting a sim SDK older than deployment target.
[rake/iOS] Fail when trying to use retina=false on iOS >= 7.
[CodeSign] Improve cert finding by only checking codesign identities.

Also move the logic out into a separate util module.

Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-399.
[CodeSign] Cleanup.
[CodeSign] Another small cleanup.
[iOS] The iPad 2 (non-retina) also has iOS 7 support.
[sim] Fail when launching in BG but not having configured the app.

Otherwise this leads to an ugly ‘failed to start’ error.
[iOS] Make `flick` UI test helper work on iOS 7.

Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-437
2.23
Replace all pretty quotes with ASCII.
add magic encoding comments to all ruby source files