Fix a error that prevents building in Xcode6b4
Fix for exception on export (#1968)

This fixes an exception that would happen if three conditions were met:
  1) No database was selected or it was empty
  2) A custom export filename was set
  3) You tried to export the result of a custom query
Replace a few other instances with objectOrNilAtIndex:
Attempt to fix localization on 10.8 SDK (#1896)

This is mostly from https://github.com/incbee/DMLocalizedNibBundle (retaining Wil Shipleys original license)
Fix warnings.
Resolve #1938: In the query console display the database the query was executed in.
Resolve #1974:  Allow un-mapping of Ctrl-H

Add menu item "MySQL help for Word/Selection", with Control-H as the
default key equivalent
Delete SPTextView's built in handling of Control-H key presses
Merge pull request #1981 from abhibeckert/master

Resolve #1974:  Allow un-mapping of Ctrl-H
Add project specific setting to use tabs for indentation
Merge branch 'master' of https://github.com/sequelpro/sequelpro
Add pref to disable backticks in completions

Add a checkbox to the Editor preferences to disable placing backticks
around attributes when completing in the custom query pane.

Resolves #764
Merge pull request #1982 from abhibeckert/master

Add pref to disable backticks in completions
really disable ControlMaster
Merge pull request #1956 from schmurfy/controlmaster

Cohabitation with terminal (with ControlMaster)
Disable "Smart Quotes" in the query editor, among others.

It might be useful to keep this setting on globally, but smart quotes break
SQL, resulting in the requirement of having to do an undo-type-undo dance to
force the editor to not replace the single (') and double (") quote
characters with the ‘, ’ and “, ” characters, respectively.  Since we
can presume that no one will want to use these non-SQL quotation marks
within SQL unless they explicitly decide to do so (in matching a varchar
field, for instance), they should be off by default.  Additionally, the
double-dash (--) is used in SQL for inline comments, which gets substituted
for the em-dash (—). Disabling this seems to be a good idea on the same
argument.

More info about text substitution: http://support.apple.com/kb/PH14294
Fix spelling errors on method comment
Fix #1983 (bz2 import breaks)

* Avoid a malloc(4) / free() and let the compiler figure that out
* sizeof(pointer) != sizeof(memory area pointed to by pointer)
Disable ID generation during duplicate database

Should fix #1978
Merge branch 'disable_smartquotes' of https://github.com/uxp/sequelpro into uxp-disable_smartquotes
Disable Smart quotes in Bundle Editor