Track Sphinx versions.

This isn't useful for much beyond determining Sphinx versions for Flying Sphinx.
Add deployment tasks for use with Capistrano

This script, when required into a user's deployment script, provides
several useful tasks for deploying an application with Thinking Sphinx.
These tasks are:

 * `cap thinking_sphinx:configure`: Generate the .conf file
 * `cap thinking_sphinx:index`: Build Sphinx indexes
 * `...:rebuild`: Stop, rebuild indexes, and start the search daemon
 * `...:stop`: Stop the search daemon
 * `...:start`: Start the search daemon
 * `...:restart`: Restart the search daemon
 * `...:shared_sphinx_folder`: Create a shared folder for indexes
 * `...:symlink_indexes`: Symlink indexes into the latest release

Additionally, the `thinking_sphinx/capistrano` script will setup some
logical flow for deployments. After a cold deploy, indexes will be built
for the user and the search daemon will start up. During a
`cap deploy:setup`, a shared folder will be created to store Sphinx
indexes. Finally, after each release is finalized, symlinks to the
shared indexes will be created.

This commit closes #447.

Signed-off-by: David Celis <me@davidcel.is>
Merge pull request #449 from davidcelis/master

Add deployment tasks for use with Capistrano
History details are in most-recent-first order.
3.0.1
Query errors get classified as such.
Fix references to thinking_sphinx rake tasks as ts

Signed-off-by: David Celis <me@davidcel.is>
Merge pull request #450 from davidcelis/master

Fix references to thinking_sphinx rake tasks as ts
Removing custom conditions from WHERE clauses for sql_query_range.

This will almost always result in no noticeable speed difference, and is better for a broader range of scenarios.
Merge remote-tracking branch 'upstream/master'