Update some ruby shebangs
Do proper string conversion of non-string values

Only values from the root target goes through this code, so it wasn’t causing a problem, as none of those keys had a multi-element array, but in ruby 2.0 embedding an array in a string seems to use inspect instead of to_s:

	Ruby 1.8: "#{['foo']}" #=> foo
	Ruby 2.0: "#{['foo']}" #=> ["foo"]
Add Ruby 2.0 support for build scripts
Remove compiler error
Loop select items in Chooser

If `enableLoopFilterList` is set to `YES`:

- when at top, pressing <Up> selects the last item on bottom
- when at bottom, pressing <Down> selects the first item on top
Switch from deprecated methods for coordinate conversion.
convertBaseToScreen->convertRectToScreen
convertScreenToBase->convertRectFromScreen
Switch to NSTextInputContext from deprecated NSInputManager