docs patch
Adding test for #835

This fails under Hadoop 1 (but not 2) due to the bug reported in #835.
Fix up next.
Put context.getConfiguration calls behind compat

Converting calls to getConfiguration() on Hadoop Context instances to
DEFAULT_COMPAT.getContextConfiguration(<instance>).  Fixes #835.
Update old RDF config value in example Hadoop props

The config value "n-triples" in rdf-input.properties should have been
N_TRIPLES.
Adding test for #786

This test runs in the aurelius-release profile.  I implemented it as
an Expect-based integration test in titan-dist because that was the
most straightward approach within the existing test harness that
allowed for restarting the JVM in the middle of the test logic, which
is necessary to catch a regression on this particular bug.
Move titan-dist test resources to test-classes

The titan-dist pom prior to this commit copied test resources to the
target/classes directory.  This doesn't get included in any of Titan's
release assemblies right now, but it's fragile.  Moved these resources
-- none of which should ever be included in a release archive -- to
target/test-classes to better reflect their function and reduce the
risk of accidental inclusion in future releases.
Add test of gremlin.sh gremlin-script.groovy

This test checks that gremlin.sh interprets a single command-line
argument, when present, as the path to a script file to be evaluated
and whose additions to the scriptengine variable binding will be
available at the prompt eventually presented to the user.

The sample script used in the test sets and checks these four
variables:

test_i = 2 + 2
test_g = new TinkerGraph()
test_hadoop_class = HadoopFactory.class
test_titan_class = TitanFactory.class

This is for #824
Make gremlin.sh process an arg as a gremlin script

Fixes #824
Moving TitanGraph instantiation into RecordReaders

This should address #817.  According to that issue, Spark (and maybe
MR?) creates an InputFormat when starting a workload just to get the
splits, then throws the IF away.  Creating a graph in IF.setConf
therefore lets an unclosed graph go out-of-scope in this scenario.

This commit implements @skavulya's suggestion to move graph
instantiation into RecordReader.initialize for both the HBase and
Cassandra RRs implementations.
Failing test executing a static initializer cycle

This test triggers a unsafe cycle of dependencies between static
initializers in two classes, Backend and GraphDatabaseConfiguration,
by invoking TitanFactory.open with a shorthand parameter first thing
after the JVM starts up.  This cycle is not triggered if a file is
passed in.  This test is for #831.
Breaking static initializer cycles

GraphDatabaseConfiguration no longer contains references to Backend.
Those references have been replaced by two new self-contained enums
representing storage managers and index backends.  Fixes #831.
Fix "todo" download link in documentation

Fixes #803
Fix misplaced semicolons in docs on TitanFactory

Besides fixing syntax errors in the BDB page's example TitanFactory
invocation, I appended a semicolon after the `open()` call in the
HBase and Cassandra example TitanFactory invocations to make them
copy-paste friendlier.  All of these example code snippets declare
Java as their markup language in the docs source and use Java-style
explicit type declaration before the variable name, so I think this is
appropriate.  I didn't touch the inmemory backend's TitanFactory
snippet since the docs explicitly describe the snippet as a Gremlin
fragment.

Fixes #801
Port old Hadoop-S3 Titan wikidoc page to AsciiDoc

This commit introduces an AsciiDoc-ified copy of the content on
https://github.com/thinkaurelius/faunus/wiki/Using-Amazon-S3-for-Storage
as a new chapter (42) under the Hadoop part (IV) of the manual.
Make the Cassandra working dir fixed

The cassandra.yaml file used by titan.sh has long used relative paths
for data, commitlogs, and saved_caches, but since moving away from the
embeddedcassandra backend in favor of a standalone cassandra daemon,
we can no longer rely on STORAGE_DIRECTORY being interpreted relative
to the Titan configuration file.

This commit changes cassandra.in.sh to cd to $CASSANDRA_HOME
(typically the directory containing titan's bin/ directory, or the
grandparent of titan.sh) before starting Cassandra.

Fixes #825
Upgrade notice about Cassandra dirs

A warning to users of titan.sh in 0.5.0 and 0.5.1 porting data forward
to 0.5.2 that the script's working directory no longer affects the
location of Cassandra data directories

Related to #825
Change some github.com urls from master to titan05

This is prompted by #803.  I did a grep through all of the docs
(recursive) for blob/master and found two hits.  A more elegant
solution would probably involve an AsciiDoc property that's centrally
controlled to avoid repetition, but with only two references, I don't
want to go overboard.  Changed both to titan05 equivalents and checked
that the links were still live.
Move Faunus Graph instantiation into RR.initialize

I kind of implemented this in
5dd656e050cf1f31580a4425e51b3da272d9bfcb, but I cheated by opening the
graph in InputFormat.createRecordReader rather than
RecordReader.initialize.  I'm not sure whether the contract of
createRecordReader makes that safe.  This commit moves graph
instantiation into RecordReader.initialize in an attempt to remove the
uncertainty.

Related to #817
Cleanup HBase version management

The purpose of this commit is twofold:

* Centralize HBase version management.  The target 0.98.x version was
  duplicated in several places prior to this commit.  Now the
  top-level pom property ${titan098.core.version} specifies the HBase
  0.98 version (without the -hadoop2 suffix), which is appended in
  ${titan098.version}.

* Update to the latest HBase bugfix releases.  0.98 moved from .2 and
  .3 to .8, and 0.94 moved from .21 to .25.  0.96 does not appear to
  have new upstream bugfixes and stays at .2.
Update Jersey version from 1.17 to 1.18.2

This is related to #784.  1.17 depends on an unshaded copy of ASM 3.2.
1.18.2 drops the unshaded ASM dependency in favor of carrying its own
shaded copy of the ASM classfiles.  I'm not certain Rexster will
tolerate this.