Add “related file” settings for *.go (test) files

With this setting ⌥⌘↑ will switch between test and non-test *.go files.
Fix “unused variable” compiler warning
Use ruby 1.8 in the shebang for new commands

Using the ruby found via PATH would require the command to be tested with ruby 1.8, 1.9, 2.0 and possibly alternative ruby implementations (rubinus, jruby, …) so best to be explicit about which version the command is written for.
Improve readability of brace movement tests
Improve code to find “paired character ranges”

The algorithm now handle overlapping character ranges like: ‘(f{o)o}’ and unpaired characters surrounded by character pairs.

This is for selecting (⇧⌘B) and moving to the begin or end of the range (⌃↓/⌃↑).
Allow setting a tab as “sticky”

Presently this can only be done by right-clicking the tab and selecting the “Sticky” option — if a tab is sticky then it will not be closed when executing any of the batch close actions (Close All Tabs, Close Other Tabs, Close Tabs to the Right, and holding option down while opening a file via file browser or file chooser).

Closes #1038.
Add missing semi-colons after assertion
Fix issue with merging delta property lists
Remove unused function: pattern_t::indices_for_group
Use oniguruma’s default character type (OnigUChar)

This introduces a bunch of typecasts but means that less patching is required when updating the library.
Do not set hidden visibility for C sources

This is for oniguruma and ideally we would set this only for the oniguruma target, but then we need special precompiled headers for that target, so this is a practical way to achieve the goal (there are no other C sources in the build tree).
Ensure -include «pch» is the first compiler option

This is incase we want to set ‘-include’ via a FLAGS variable, as that only works when it is listed after a potential precompiled header include.
Add Onigmo submodule
Setup Onigmo target
Switch regexp library: oniguruma → onigmo
Remove oniguruma 5.9.2 files
Limit resources copied to target bundle

Without the ‘.png’ extension we would match the ‘Header Icons’ folder, and (recursively) copy that to our target, so the contents of the folder would exist in two places in the target (with and without the folder).
Remove warning from regexp test

The problem is with the underlying library and has been reported to its issue tracker.
Highlight pairs can now be regular expressions

These settings are also consulted for “pair movement”, i.e. ⌃↓/⌃↑ and ⇧⌘B, so by using regular expressions we can match begin/end tags and navigate between these.
Bar button positioning tweaks