rfe10325 - Add evalJavaScript to Python client

Added evalJavaScript to the RepositoryConnection class.
Added tests for same.

Tests added for:     rfe10325
make test-suite run? make python-prepush

<release-note>
rfe10325: Added evalJavaScript to Python client

Added an evalJavaScript function to the RepositoryConnection
class for evaluating server-side JavaScript code.

See the server's JavaScript documentation for details on
programming the server in JavaScript.
</release-note>

Change-Id: Ide2e9df117e494d3378bf704c231c43b87c40ef7
Reviewed-on: https://gerrit.franz.com:9080/1092
Reviewed-by: Kevin Layer <layer@franz.com>
Tested-by: Kevin Layer <layer@franz.com>
rfe10326 - support deleteDuplicates from Python client

Catalog.createRepository has a deleteDuplicates keyword
for setting the store's duplicate removal behavior on
creation. The Repository object has set/get functions and
a delete_duplicates property.

Added a test for the feature.

Tests added for:     rfe10326
make test-suite run? python-prepush run

<release-note>
rfe10326: Support deleteDuplicates setting from Python client

The Catalog.createRepository function now has a deleteDuplicates
keyword argument for setting the store's deleteDuplicates
behavior on creation. If unspecified, the behavior is
the server's default setting.

The store's deleteDuplicates setting is also available from
a Repository object instance either as a property variable
(delete_duplicates) or as setDeleteDuplicates and
getDeleteDuplicates methods. This is a per-store setting.

See the Http Protocol documention for setting values and
behaviors (text search for deleteDuplicates).
</release-note>

Change-Id: I19a9d6bd8a4cbada16ea296bc24809a4b78a636a
Reviewed-on: https://gerrit.franz.com:9080/1089
Reviewed-by: Ahmon Dancy <dancy@franz.com>
Reviewed-by: Marijn Haverbeke <marijnh@franz.com>
Reviewed-by: John O'Rourke <john.orourke@franz.com>
Tested-by: Kevin Layer <layer@franz.com>
Adjusted synchronization process

Changed the call to the synchronization function to correspond to
changes made in the agraph module.

Change-Id: Iede95add15dd705fe4f55e9bdb50d2afd2db16a7
Reviewed-on: https://gerrit.franz.com:9080/1185
Reviewed-by: Ahmon Dancy <dancy@franz.com>
Tested-by: Kevin Layer <layer@franz.com>
rfe10418 - call indices/optimize from Python

Added calls for optimizing indices from Python.

Tests added for:     rfe10418
make test-suite run? yes - make python-prepush

<release-note>
rfe10418: call indices/optimize from Python

Added a optimizeIndices(forceLevel, wait) method to
RepositoryConnection for exposing the http indices/optimize
POST request to Python client.

For more information see:

http://www.franz.com/agraph/support/documentation/v4/triple-index.html#optimize
</release-note>

Change-Id: I66829272c824e242640318013a5849ca0c0ae510
Reviewed-on: https://gerrit.franz.com:9080/1204
Reviewed-by: Ahmon Dancy <dancy@franz.com>
Tested-by: Kevin Layer <layer@franz.com>
bug20066 - Fix wrong http parameters in python client calls

optimizeIndices argument is now level not forceLevel.

createRepository's parameter for configuring indices is
index.

Added test for createRepository with indices specified.

Tests added for:     bug20066
make test-suite run? python-prepush

<release-note>
bug20066: Changed optimizedIndices argument

optimizedIndices forceLevel argument was changed to
level.
</release-note>

Change-Id: I7579c21cdb7338ccf7195f272bb53c6240d40af2
Reviewed-on: https://gerrit.franz.com:9080/1248
Reviewed-by: Ahmon Dancy <dancy@franz.com>
Reviewed-by: Kevin Layer <layer@franz.com>
Tested-by: Kevin Layer <layer@franz.com>
Fixed bad link in tutorial file (4.2.1)

A link in the tutorial file src/tutorial/java-tutorial-40.html
pointed to current/reference-guide.html. That link was valid for
3.3 but not for 4.x because reference-guide.html was renamed
lisp-reference.html. This became apparent when we made /current/
point to the 4.2 docs.

Change-Id: Iea837731d97872deffdc6a536824abe71891b0c9
Reviewed-on: https://gerrit.franz.com:9080/1377
Reviewed-by: Kevin Layer <layer@franz.com>
Tested-by: Kevin Layer <layer@franz.com>